Support » Fixing WordPress » Problems with Embed Youtube and thumbnail images

  • Hello

    I have problems with thumbnail pictures and embed youtube videos. I have installed pictures and the video on the same page.

    Now in IE opening the picture it’ll open behind the video (look the photo).

    In IE the problem is much clearer than for example in Firefox. In Firefox the problem is only with frames. (as in the photo).

    Embed Youtube code is
    <iframe src="http://www.youtube.com/embed/9qTc-g2ClTM?feature=player_detailpage" height="360" width="640" allowfullscreen="" frameborder="0"></iframe>

    and thumbnail code is
    <a href="http://domain_name.com/wp-content/uploads/2013/04/ylakerta.jpg"><img class="alignnone size-thumbnail wp-image-222" title="Yläkerran pohjapiirros" alt="ylakerta" src="http://domain_name.com/wp-content/uploads/2013/04/ylakerta-150x150.jpg" width="150" height="150" /></a> <a href="http://domain_name.com/wp-content/uploads/2013/04/alakerta.jpg"><img class="alignnone size-thumbnail wp-image-213" title="Alakerran pohjapiirros" alt="alakerta" src="http://domain_name.com/wp-content/uploads/2013/04/alakerta-150x150.jpg" width="150" height="150" /></a>

    Thanks for you help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry, the question is how do I get the video to stay in the back of the picture?

    Thanks again. 🙂

    Moderator Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Look at applying some CSS z-index http://www.w3schools.com/cssref/pr_pos_z-index.asp

    Link the site if you want specific code support

    Thanks a lot for your post.

    I found the answer to my question

    the solution was to add “wmode=opaque” to the query string of the youtube iframe like so:

    <iframe width=”640″ height=”360″ src=”http://www.youtube.com/embed/w9OhG7Wx1CY?wmode=opaque” frameborder=”0″ allowfullscreen></iframe>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems with Embed Youtube and thumbnail images’ is closed to new replies.