Created
November 3, 2011 17:51
-
-
Save mattboon/1337181 to your computer and use it in GitHub Desktop.
Fix YouTube Embeds appearing over position: fixed; items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fix YouTube embeds | |
$('iframe[src*="youtube"]').each(function() { | |
var url = $(this).attr("src"); | |
$(this).attr("src",url+"?wmode=transparent"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment