Support » Plugins and Hacks » [Resolved] Video appears in front of menus

[Resolved] Video appears in front of menus

  • 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.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author billknechtel



    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,

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Video appears in front of menus’ is closed to new replies.