iframe dimensions of recipe videos are way off
-
Hey there,
a client recently started to produce videos for her recipes.
After embedding a YT link in a recipe the video is shown in the recipe card. The dimensions of the iframe are way off though. The blog content container width is 780px, but it seems that the iframe gets his width from the main page container (content + sidebar) which is 1170px. Because of that the video is way too big and gets cut off.
I’m not sure if this is a conflict between serveral CSS rules or if a JS somehow retrieves the wrong value. I tried to force displaying the correct dimensions via CSS, but couldn’t get it to work.
A caching/minifying issue can be ruled out, because the problem remains if the respective plugins are deactivated.
Any help is appreciated.
Cheers
The page I need help with: [log in to see the link]
- The topic ‘iframe dimensions of recipe videos are way off’ is closed to new replies.