Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 20, 2013
  1. @ScottDowne
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 wrappers/youtube/popcorn.HTMLYouTubeVideoElement.js
View
4 wrappers/youtube/popcorn.HTMLYouTubeVideoElement.js
@@ -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 ];
Something went wrong with that request. Please try again.