forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(text): Fix VTTCue polyfill in uncompiled mode on Edge
The polyfill assigns a static method over window.VTTCue, which is then called with "new". This will not work on Edge in uncompiled mode, since the method is not an old-style "function". To fix this, we wrap the chosen static method into a "function". Change-Id: I9b5687e39b3af1bd160e4db4595de06720564a1d
- Loading branch information
1 parent
565bb7d
commit 4499149
Showing
1 changed file
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters