WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Responsive video not working for YouTube

[Resolved] Responsive video not working for YouTube

Viewing 2 replies - 1 through 2 (of 2 total)
  • alsjeblaft
    Member

    @alsjeblaft

    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>
    Plugin Author Kevin Leary
    Member

    @kevinlearynet

    This has been resolved in the latest update, version 1.2.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Responsive video not working for YouTube’ is closed to new replies.