WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. urpluggedin
    Member
    Posted 1 year 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/

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

    Posted 8 months 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

About this Topic

Tags

No tags yet.