We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f407f commit c00c9e4Copy full SHA for c00c9e4
lib/drm/drm_engine.js
@@ -577,7 +577,9 @@ shaka.drm.DrmEngine = class {
577
578
this.video_ = video;
579
580
- this.eventManager_.listenOnce(this.video_, 'play', () => this.onPlay_());
+ if (this.config_.delayLicenseRequestUntilPlayed) {
581
+ this.eventManager_.listenOnce(this.video_, 'play', () => this.onPlay_());
582
+ }
583
if (this.video_.remote) {
584
this.eventManager_.listen(this.video_.remote, 'connect',
585
() => this.closeOpenSessions_());
0 commit comments