mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 09:49:21 +02:00
hls
This commit is contained in:
parent
9ac272f905
commit
e3556aeaa3
3 changed files with 5 additions and 4 deletions
|
@ -345,6 +345,7 @@
|
|||
|
||||
function initResolutionForHLS(player){
|
||||
var hls = player.tech_.hls;
|
||||
if(!hls) { return; }
|
||||
// Capture events
|
||||
player.on('mediachange', function(){
|
||||
player.trigger('resolutionchange');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue