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