Skip to content

Commit

Permalink
If no 'onremovetrack' means no support
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Aug 12, 2015
1 parent 887e45c commit 98dfa9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/tech/html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ Html5.supportsNativeTextTracks = function() {
if (supportsTextTracks && browser.IS_FIREFOX) {
supportsTextTracks = false;
}
if (supportsTextTracks && ('onremovetrack' in Html5.TEST_VID.textTracks)) {
if (supportsTextTracks && !('onremovetrack' in Html5.TEST_VID.textTracks)) {
supportsTextTracks = false;
}

Expand Down

0 comments on commit 98dfa9c

Please sign in to comment.