Wrong aspect ratio with embedded videos
-
Hello,
when inserting a Vimeo video into a post, it displays with a wrong aspect ratio in the front end. It looks very wide and scope-like. I’ve set a width of 900px for the content in my theme. This specific video has an aspect ratio of 1.85:1 but it also happens with 16:9 and so on.After some trial and error I have found out that these lines in the plugins’ CSS change the troublemaking height value and make it appear correct when changed to the height of the corresponding ratio:
div.lazy-load-vimeo-div,
a.lazy-load-youtube iframe,
.lazy-load-vimeo iframe,
.lazy-load-vimeo,
a.lazy-load-youtube iframeCan you please take a look at this error? Anyone else having issue with that?
Regards,
Timo
- The topic ‘Wrong aspect ratio with embedded videos’ is closed to new replies.