mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 09:49:21 +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
|
@ -74,9 +74,10 @@
|
|||
this.addClass('vjs-selected');
|
||||
|
||||
// Hide bigPlayButton
|
||||
if(!isPaused){
|
||||
if(!isPaused && this.player_.options_.bigPlayButton){
|
||||
this.player_.bigPlayButton.hide();
|
||||
}
|
||||
|
||||
if(typeof customSourcePicker !== 'function' &&
|
||||
typeof this.options_.customSourcePicker === 'function'){
|
||||
customSourcePicker = this.options_.customSourcePicker;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue