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 authored and joeyparrish committed Feb 17, 2024
1 parent d806436 commit e62103f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/polyfill/patchedmediakeys_apple.js
Original file line number Diff line number Diff line change
Expand Up @@ -786,9 +786,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 e62103f

Please sign in to comment.