Skip to content

Instantly share code, notes, and snippets.

@happyrobots
Created April 5, 2011 18:10
Show Gist options
  • Save happyrobots/904151 to your computer and use it in GitHub Desktop.
Save happyrobots/904151 to your computer and use it in GitHub Desktop.
Flash objects do not obey z-index. This is particularly often found on youtube vids..
To solve this, pass wmode parameter with transparent value... like this: www.youtube.com/embed/somecode?wmode=transparent
$(function() {}); seems to wait for document ready forever, if it's invoked on a popup. Well um.. or probably because the document is already 'ready', the piece of code inside that function won't be even executed.
Instead, put the thing inside that function near the end of </body> tag... please, only if it's a popup. lolplz..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment