fixed bug with disabled bigPlayButton auto-quality

Fixed bug with disabled bigPlayButton.
auto-quality works good.
This commit is contained in:
Dima Lunkin 2016-06-18 15:27:20 +03:00 committed by GitHub
parent 9ac272f905
commit f483d97454

View file

@ -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;
}