Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRM content playback issue in IE11 and Edge #6270

Closed
yuyu04 opened this issue Oct 16, 2019 · 0 comments · Fixed by #6318
Closed

DRM content playback issue in IE11 and Edge #6270

yuyu04 opened this issue Oct 16, 2019 · 0 comments · Fixed by #6318

Comments

@yuyu04
Copy link

yuyu04 commented Oct 16, 2019

Description

Starting with video.js version 7.5.5 on IE11 and edge, if you play DRM content using big-play-button, only sound comes out and the screen is black.
This problem is caused by the addition of a function to focus on the screen when big-play-button is clicked in 7.5.5.

7.5.5

if (this.mouseused_ && event.clientX && event.clientY) {
      silencePromise(playPromise);
      this.player_.tech(true).focus(); // Problem
      return;
    }

7.5.4

if (this.mouseused_ && event.clientX && event.clientY) {
      silencePromise(playPromise);
      // call handleFocus manually to get hotkeys working
      this.player_.handleFocus({}); // OK
      return;
    }

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

  1. Link to video js version 7.6.5.
  2. Set DRM content to video js. ex) playready drm content
  3. Click the Play Video button in the top left corner.

Results

Expected

DRM content play.

Actual

Only sound comes out and the screen is black

Error output

None

Additional Information

Please include any additional information necessary here. Including the following:

versions

videojs

7.5.5 or later versions

browsers

IE11 and Edge

OSes

windows 10

plugins

gkatsev pushed a commit that referenced this issue Nov 19, 2019
…6318)

Any programmatic call to focus when playing back DRMed content on IE/Edge causes the video element to turn black. Instead, don't call focus() in those cases.

Fixes #6270.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant