FitVids-Wrapper – iframe for Youtube being stretched to full page width
-
With the Sydney theme iframe embedded YouTube videos are stretched to full page width when they shouldn’t be. See below for how the code looks in WordPress vs in browser. If I change to another theme the code displays as it should. How can I prevent this? Thanks !
In WordPress:<iframe title="YouTube video player" src="video-url" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
In browser:
<div class="fitVids-wrapper" style="padding-bottom: 56.25%;"><iframe loading="lazy" title="YouTube video player" src="video-url" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘FitVids-Wrapper – iframe for Youtube being stretched to full page width’ is closed to new replies.