Skip to content

Commit

Permalink
revert: Install by default shaka.polyfill.PatchedMediaKeysApple when …
Browse files Browse the repository at this point in the history
…there is no unprefixed EME support (#6068)

This reverts commit 5b5b2ce.

Due to:
b1e5063#commitcomment-136674454
  • Loading branch information
avelad committed Jan 10, 2024
1 parent 231a1e9 commit 3ce4399
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/polyfill/patchedmediakeys_apple.js
Expand Up @@ -791,9 +791,3 @@ shaka.polyfill.PatchedMediaKeysApple.MediaKeyStatusMap = class {
goog.asserts.assert(false, 'Not used! Provided only for the compiler.');
}
};

if (!navigator.requestMediaKeySystemAccess ||
// eslint-disable-next-line no-restricted-syntax
!MediaKeySystemAccess.prototype.getConfiguration) {
shaka.polyfill.register(shaka.polyfill.PatchedMediaKeysApple.install);
}

0 comments on commit 3ce4399

Please sign in to comment.