Responsive Video Embeds
[resolved] Responsive video not working for YouTube (3 posts)

  1. urpluggedin
    Posted 3 years 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?


  2. alsjeblaft
    Posted 3 years 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>
  3. Kevin Leary
    Plugin Author

    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Responsive Video Embeds
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.