Default captions to enabled
This commit is contained in:
parent
0fc8953a69
commit
61c456eceb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue