fix bug with disabled bigPlayButton

This commit is contained in:
Dmitriy Lunkin 2016-06-18 13:32:00 +03:00
parent 56760f6314
commit 3cea1487b8

View file

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