Skip to content

Commit

Permalink
fix: Force using mcap polyfill on EOS browsers (#4630)
Browse files Browse the repository at this point in the history
The MCap API on the EOS set-top boxes is rather buggy thus we're relying
on the polyfill instead.
  • Loading branch information
matvp91 authored and joeyparrish committed Oct 28, 2022
1 parent 4498101 commit 7134353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/polyfill/media_capabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ shaka.polyfill.MediaCapabilities = class {
!shaka.util.Platform.isPS5() &&
!shaka.util.Platform.isWebOS() &&
!shaka.util.Platform.isTizen() &&
!shaka.util.Platform.isEOS() &&
navigator.mediaCapabilities) {
shaka.log.info(
'MediaCapabilities: Native mediaCapabilities support found.');
Expand Down

0 comments on commit 7134353

Please sign in to comment.