Embed: mews: disable ABR when the viewer has selected a specific video track
This commit is contained in:
parent
e17420534d
commit
2f12c9fca7
7 changed files with 135 additions and 26 deletions
|
@ -724,6 +724,11 @@ p.prototype.build = function (MistVideo,callback) {
|
|||
};
|
||||
f();
|
||||
}
|
||||
|
||||
me.api.ABR_resize = function(size){
|
||||
MistVideo.log("Requesting the video track with the resolution that best matches the player size");
|
||||
me.api.setTracks({video:"~"+[size.width,size.height].join("x")});
|
||||
};
|
||||
|
||||
me.api.unload = function(){
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue