Update src/components/htmlvideoplayer/plugin.js

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
This commit is contained in:
redSpoutnik
2019-10-25 18:21:38 +02:00
committed by GitHub
parent bccb1e6147
commit f6eedbb221
+1 -1
View File
@@ -584,7 +584,7 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
var mediaStreamTextTracks = getMediaStreamTextTracks(self._currentPlayOptions.mediaSource);
Array.from(videoElement.textTracks)
.filter(function(trackElement) {
.filter(function(trackElement) {
// get showing .vtt textTacks
return trackElement.mode === 'showing';
})