Skip to content

Commit

Permalink
Limit further disable calls only on IE browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bartos committed May 21, 2019
1 parent 15ec434 commit d4d7752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/providers/tracks-mixin.js
Expand Up @@ -573,7 +573,7 @@ function _removeCues(renderNatively, tracks) {
// Cues are inaccessible if the track is disabled. While hidden,
// we can remove cues while the track is in a non-visible state
// Set to disabled before hidden to ensure active cues disappear
if (track.mode !== 'disabled') {
if (!Browser.ie || track.mode !== 'disabled') {
// Avoid setting the track to disabled if it is already so. This prevents an exception when trying
// to set the mode on Edge
track.mode = 'disabled';
Expand Down

0 comments on commit d4d7752

Please sign in to comment.