Last active
May 23, 2016 13:34
-
-
Save sabberworm/d69be93c3957fd630f9c to your computer and use it in GitHub Desktop.
Disable Flash-HLS Hack
This file contains hidden or 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
if(videojs.Hls) { | |
videojs.Flash.isSupported = function() { | |
// Only support Flash if no HTML5 is available | |
return !videojs.Html5.isSupported(); | |
}; | |
videojs.Hls.isSupported = function() { | |
return videojs.Hls.supportsNativeHls; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment