Default captions to enabled
This commit is contained in:
parent
0fc8953a69
commit
61c456eceb
|
@ -79,7 +79,7 @@ const createVideoElement = (videoUrl, subtitles) => {
|
|||
track.src = url;
|
||||
track.kind = "captions";
|
||||
|
||||
if (id == storedTrack) {
|
||||
if (id == storedTrack || storedTrack == -1) {
|
||||
track.default = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue