brandondawson.org Drupal Website Developer and Consultant

18Feb/113

New YouTube iframe embed code & wmode=transparent

Is the new YouTube embed code getting in the way of your layout by refusing to display above or below a floated or positioned element?

All you've got to do is tuck one of these little bits of code at the tail end of the URL, depending on your exact situation:

&wmode=Opaque

&wmode=transparent

Comments (3) Trackbacks (0)
  1. It works, but when you add a video with a playlist, it stops working.

  2. Have they perhaps not pushed out the “new” code to everybody yet? My playlists are still using the old code, for which a wmode=”opaque” or wmode=”transparent” will work, as appropriate.

  3. Awesome. Thanks! Helped me out.


Leave a comment

No trackbacks yet.