| | |
| | | this._opt.isDebug = opt.debug === true; |
| | | this._opt.timeout = typeof opt.timeout === 'number' ? opt.timeout : 30; |
| | | this._opt.supportDblclickFullscreen = opt.supportDblclickFullscreen === true; |
| | | this._opt.showBandwidth = opt.showBandwidth === true; |
| | | //this._opt.showBandwidth = opt.showBandwidth === true; |
| | | opt.showBandwidth = true; |
| | | this._opt.operateBtns = Object.assign({ |
| | | fullscreen: false, |
| | | screenshot: false, |
| | | play: false, |
| | | fullscreen: true, |
| | | screenshot: true, |
| | | play: true, |
| | | audio: false |
| | | }, opt.operateBtns || {}); |
| | | this._opt.keepScreenOn = opt.keepScreenOn === true; |