mb.YTPlayer for background videos
[resolved] Wrong layer (3 posts)

  1. igreenleigh
    Posted 3 years ago #

    When I use the shortcode on a page or post, I get the video in fullscreen, blocking the content. In other words, it completely overlays and does not allow access to the post or page content. See example here.

    Thanks- really excited about the potential for this plugin!


  2. pupunzi
    Plugin Author

    Posted 3 years ago #

    In your CSS file you have a property that is conflicting with the component behaviour:

    #fondo {
    background-image: url("../images/fondo.png");
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -100 !important;

    If you remove the z-index propery or set it to 0 then it works as it should.
    The video player has a z-index of 0 and is the first element in the DOM tree, so it should be placed on the back of the other elements. But if you have any element in the page with a negative z-index, this element will be placed behind the player.

    Hope this helps you,

  3. igreenleigh
    Posted 3 years ago #

    That worked, thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.