+ 2
What does <track> tag and what is the format of it. How to use it.
I know <track> tag is used for subtitles but i don't know how to use it and what will be the correct format of it.
7 Respuestas
+ 2
Hi Praveen soni,
I've did some searching and found that these provided sources should contain most of the track tag and should be formatted correctly and usage. even to implement with js dom if you need to.
Hope it helps👍
https://html.com/tags/track/
https://www.w3schools.com/tags/tag_track.asp
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
P.S. Did not see id or class attributes in those sources, but should be able to use those. (Searchbar is your best friend😃)
+ 2
Vincent Berger thanks
0
Hallo
0
Here is an example.
<video src="/video/pass-countdown.ogg" width="300" height="150" controls>
<track src="/video/countdown_en.vtt" kind="subtitles" srclang="en" label="English">
<track src="/video/countdown_es.vtt" kind="subtitles" srclang="es" label="Spanish">
<track src="/video/countdown_it.vtt" kind="subtitles" srclang="it" label="Italian">
</video>
0
Sorry am not good.
0
Sorry but i don't understand Aishatu hamidu saidu what you want to say.
0
What do u want me to explain Praveen Soni.