Support » Fixing WordPress » Vimeo iframe width="100%" height= "auto" does not work…

  • Hello everyone I have a problem when I try to embed videos in my wordpress,
    the width is perfect but the height does not react dynamically

    I coded my wordpress theme with three different css for three different screen heights, large (1181px and more), medium (from 871px to 1180px) and small (870px and less).

    So doing something like width=”100%” height=”506px” would just work for the large screen size css but for the two others it won’t…

    I am just looking for a way to have an automatic height adjustment
    Btw the video from my Vimeo
    An example is this old video that is on my blog:
    If you have a big screen it should be almost perfect regarding the height of the video, under 1180px height of your screen your looking at the medium size css and will have two large black margins above and below the video.

    Anyone has an idea to fix that?

  • The topic ‘Vimeo iframe width="100%" height= "auto" does not work…’ is closed to new replies.