This repository has been archived by the owner. It is now read-only.

[#940679] Default youtube wrapper to use html5. #360

Open
wants to merge 1 commit into
base: master
from
Jump to file or symbol
Failed to load files and symbols.
+4 −0
Diff settings

Always

Just for now

[#940679] Default youtube wrapper to use html5.

  • Loading branch information...
ScottDowne committed Nov 20, 2013
commit 0cdb0f7e9266c8138f665f0cb7a9cec14e595d8d
@@ -354,6 +354,10 @@
// Set wmode to transparent to show video overlays
playerVars.wmode = playerVars.wmode || "opaque";
if ( playerVars.html5 !== 0 ) {
playerVars.html5 = 1;
}
// Get video ID out of youtube url
aSrc = regexYouTube.exec( aSrc )[ 1 ];
ProTip! Use n and p to navigate between commits in a pull request.