Viewing 2 replies - 1 through 2 (of 2 total)
  • 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="https://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 Kevinleary.net

    (@kevinlearynet)

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

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