Open royl88 opened 3 years ago
case 'Paused': this._bigButton.style.display = 'block' // change icon this._bigButton.innerHTML = Icons.Play this._spinner.style.display = 'none' break
addDisposableDomListener(this._playbackRate, 'click', () => { this._playbackRateSettingBox.classList.toggle('xp-setting-box-open') }) this._playbackRateItems.forEach(item => { addDisposableDomListener(item, 'click', () => { this._player.playbackRate = parseFloat(item.dataset['rate'] || '1') // add this this._playbackRateSettingBox.classList.toggle('xp-setting-box-open') }) })