Skip to content

Commit c638bba

Browse files
committed
Lint
1 parent 7943710 commit c638bba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TitanVideo/TitanVideo.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function TitanVideo(options) {
186186

187187
return Array.from(videoElement.textTracks)
188188
.filter(function(track) {
189-
return track.kind === 'subtitles'
189+
return track.kind === 'subtitles';
190190
})
191191
.map(function(track, index) {
192192
return Object.freeze({
@@ -474,7 +474,7 @@ function TitanVideo(options) {
474474
case 'selectedAudioTrackId': {
475475
if (stream !== null) {
476476
for (var index = 0; index < videoElement.audioTracks.length; index++) {
477-
videoElement.audioTracks[i].enabled = !!('EMBEDDED_' + String(index) === propValue)
477+
videoElement.audioTracks[index].enabled = !!('EMBEDDED_' + String(index) === propValue);
478478
}
479479
}
480480

0 commit comments

Comments
 (0)