Posted By

barky159 on 09/22/11


Tagged

z-index YouTube


Versions (?)

Youtube iframe z-index issues


 / Published in: HAML
 

Out of the box youtube videos embedded with the iframe option don't layer very well with other elements. Add '?wmode=transparent' to the embed to fix it.

  1. <iframe width="840" height="457" src="http://www.youtube.com/embed/wOJ5SuRhRBo?wmode=transparent" frameborder="0" allowfullscreen></iframe>

Report this snippet  

You need to login to post a comment.