mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-04 02:09:41 +02:00
fixed bug with disabled bigPlayButton auto-quality
Fixed bug with disabled bigPlayButton. auto-quality works good.
This commit is contained in:
parent
9ac272f905
commit
f483d97454
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@
|
||||||
this.addClass('vjs-selected');
|
this.addClass('vjs-selected');
|
||||||
|
|
||||||
// Hide bigPlayButton
|
// Hide bigPlayButton
|
||||||
if(!isPaused){
|
if(!isPaused && this.player_.options_.bigPlayButton){
|
||||||
this.player_.bigPlayButton.hide();
|
this.player_.bigPlayButton.hide();
|
||||||
}
|
}
|
||||||
if(typeof customSourcePicker !== 'function' &&
|
if(typeof customSourcePicker !== 'function' &&
|
||||||
|
@ -370,7 +370,7 @@
|
||||||
var _selectPlaylist;
|
var _selectPlaylist;
|
||||||
|
|
||||||
if(selectedResolution === 'auto'){
|
if(selectedResolution === 'auto'){
|
||||||
_selectPlaylist = videojs.HlsHandler.prototype.selectPlaylist;
|
_selectPlaylist = player.hls.selectPlaylist;
|
||||||
return _selectPlaylist;
|
return _selectPlaylist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue