Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba committed Jan 9, 2025
1 parent 7943710 commit c638bba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TitanVideo/TitanVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function TitanVideo(options) {

return Array.from(videoElement.textTracks)
.filter(function(track) {
return track.kind === 'subtitles'
return track.kind === 'subtitles';
})
.map(function(track, index) {
return Object.freeze({
Expand Down Expand Up @@ -474,7 +474,7 @@ function TitanVideo(options) {
case 'selectedAudioTrackId': {
if (stream !== null) {
for (var index = 0; index < videoElement.audioTracks.length; index++) {
videoElement.audioTracks[i].enabled = !!('EMBEDDED_' + String(index) === propValue)
videoElement.audioTracks[index].enabled = !!('EMBEDDED_' + String(index) === propValue);
}
}

Expand Down

0 comments on commit c638bba

Please sign in to comment.