Stop initialization if the browser natively supports HLS
Check the video element for HLS mime-type support and make the plugin a no-op if the browser already has built-in support. Also, if the HLs plugin is initialized before the resource selection algorithm has run on the video element and currentSrc is not set, check for a src attribute on the tech.
Showing
2 changed files
with
40 additions
and
3 deletions
-
Please register or sign in to post a comment