diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js index 40caa010..5a9f8f84 100644 --- a/source/Ox.UI/js/Video/VideoPlayer.js +++ b/source/Ox.UI/js/Video/VideoPlayer.js @@ -1971,7 +1971,9 @@ Ox.VideoPlayer = function(options, self) { self.options.subtitles.map(function(subtitle) { return subtitle.tracks; }) - ))); + ))).filter(function(track) { + return !!track; + }); loadedsubtitles(); } else { if (self.options.subtitles.indexOf('\n') > -1) {