Error in adding caption to HTML5 video using track tag. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Error in adding caption to HTML5 video using track tag.

I have a video and a vtt file in local storage . When I code it as below code it shows an error as I have described in js section of code. https://code.sololearn.com/WKt6Z7ypPoPa/?ref=app

14th Aug 2020, 4:06 PM
Divya Mohan
Divya Mohan - avatar
4 Answers
+ 4
Can you send me this video then I help you ok
14th Aug 2020, 4:11 PM
Coder Kay
Coder Kay - avatar
+ 3
https://code.sololearn.com/WIzU0LCE6DlB/?ref=app Here it's try this I think now you happy I am right
15th Aug 2020, 2:33 AM
Coder Kay
Coder Kay - avatar
+ 1
I have downloaded this video https://pixabay.com/videos/blue-tit-garden-bird-tree-bark-2796/ And created aand downloaded vtt file from here https://www.vtt-creator.com/editor
14th Aug 2020, 4:17 PM
Divya Mohan
Divya Mohan - avatar
0
Where is the caption for video ?? I don't have problem with video it ok . I am tense for caption of video for which I was getting error.
15th Aug 2020, 2:38 AM
Divya Mohan
Divya Mohan - avatar