urpluggedin
Member
Posted 6 months ago #
I just installed this plugin and will be using it solely for embedding YouTube videos. It is not resizing the videos. (If it matters, this is on a self-hosted WordPress site and I am trying to view the videos on an iPod Touch.). Any fixes?
http://wordpress.org/extend/plugins/responsive-video-embeds/
alsjeblaft
Member
Posted 4 months ago #
Same problem here. Vimeo works fine, but YouTube doesn't. Looks like the iframe isn't being wrapped in the rve-embed-container div.
Edit: I'm not sure why and haven't been able to fix it yet, but apparently modify_embed_output() is never called for youtube urls. As a temporary workaround I'm just putting the resizing html & css in the post:
<div class="rve-embed-container" style="max-width:500px;">
<div class="rve-embed-container-inner">
<iframe class="youtube-player" type="text/html" src="http://www.youtube.com/embed/YOUTUBECODE?version=3&rel=1&fs=1&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent" frameborder="0"></iframe>
</div>
</div>