WordPress.org

Ready to get started?Download WordPress

Forums

Responsive Video Light
[resolved] Video appears in front of menus (3 posts)

  1. kjfrank
    Member
    Posted 1 year ago #

    Not sure how you want to handle this, for know I have hardcoded it in the plugin.

    You tube videos require you to pass "wmode=transparent" at the end of your iframe src attribute to prevent the video from appearing on top of other Items (like menus on the page).

    I have modified the plugin code to read:

    <iframe src="http://www.youtube.com/embed/'.$video_id
              .'?rel='.$rel_param.'&wmode=transparent" frameborder="0" allowfullscreen></iframe>

    It may be more appropriate if you update the plugin to be able to pass the wmode in as an param in the shortcode:

    [responsive_youtube NbCr0UyoFJA norel wmodetrans]

    Thanks for the simple straightforward implementation.

    http://wordpress.org/extend/plugins/responsive-video-light/

  2. billknechtel
    Member
    Plugin Author

    Posted 1 year ago #

    Hello!

    Thank you for bringing this to my attention. I didn't even know wmode was a supported parameter for youtube! I did some googling to figure out exactly what was happening, and it looks like it somehow affects the z-index of the iframe, which is very odd. The flash wmode parameter doesn't do that at all!

    Anyway, I just finished rolling out a new version of the plugin that allows you to set a mode option globally as well as per-video with a short tag parameter. Please let me know if there's anything else that crops up!

    Kind Regards,
    Bill

  3. vocefilms
    Member
    Posted 7 months ago #

    We are trying to add a video to a specific part of our website. Vocefilms.com/wordpress
    there you will find on the main page a slide with pics we wanted to add a video instead. It does not have to slide video. We want just one video with the same fullscreen effect. just like the go pro.com website. please help us archive this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic