mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 17:59:42 +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');
|
||||
|
||||
// Hide bigPlayButton
|
||||
if(!isPaused){
|
||||
if(!isPaused && this.player_.options_.bigPlayButton){
|
||||
this.player_.bigPlayButton.hide();
|
||||
}
|
||||
if(typeof customSourcePicker !== 'function' &&
|
||||
|
@ -370,7 +370,7 @@
|
|||
var _selectPlaylist;
|
||||
|
||||
if(selectedResolution === 'auto'){
|
||||
_selectPlaylist = videojs.HlsHandler.prototype.selectPlaylist;
|
||||
_selectPlaylist = player.hls.selectPlaylist;
|
||||
return _selectPlaylist;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue