mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 01:39:19 +02:00
fix bug with disabled bigPlayButton
This commit is contained in:
parent
56760f6314
commit
3cea1487b8
1 changed files with 3 additions and 2 deletions
|
@ -73,10 +73,11 @@
|
||||||
// add .current class
|
// add .current class
|
||||||
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' &&
|
||||||
typeof this.options_.customSourcePicker === 'function'){
|
typeof this.options_.customSourcePicker === 'function'){
|
||||||
customSourcePicker = this.options_.customSourcePicker;
|
customSourcePicker = this.options_.customSourcePicker;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue