MCPcopy
hub / github.com/clappr/clappr / _updateSettings

Method _updateSettings

packages/hlsjs-playback/src/hls.js:394–405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

392 }
393
394 _updateSettings() {
395 if (this._playbackType === Playback.VOD) {
396 this.settings.left = ['playpause', 'position', 'duration']
397 } else if (this.dvrEnabled) {
398 this.settings.left = ['playpause']
399 } else {
400 this.settings.left = ['playstop']
401 }
402
403 this.settings.seekEnabled = this.isSeekEnabled()
404 this.trigger(Events.PLAYBACK_SETTINGSUPDATE)
405 }
406
407 _onHLSJSError(evt, data) {
408 const error = {

Callers

nothing calls this directly

Calls 2

isSeekEnabledMethod · 0.95
triggerMethod · 0.80

Tested by

no test coverage detected