html track tag


  Translation results:

英[træk] 美[træk]

n. Path, path; trace, trace; track, track; policy, route

vt. Track; track; monitor, Monitor

vi. Advance along the track; walk along a road, travel; be in a queue

Third person singular: tracks Plural: tracks Present participle: tracking Past tense: tracked Past participle : tracked

html track tagsyntax

Function: Specify external text tracks for media such as video elements.

Description: is used to specify subtitle files or other files containing text that are visible when the media is played.

Note: The <track> tag is a new tag in HTML 5. Internet Explorer 10, Chrome and Opera support the <track> tag.

html track tagexample

<video width="320" height="240" controls="controls">
  <source src="forrest_gump.mp4" type="video/mp4" />
  <source src="forrest_gump.ogg" type="video/ogg" />
  <track kind="subtitles" src="subs_chi.srt" srclang="zh" label="Chinese">
  <track kind="subtitles" src="subs_eng.srt" srclang="en" label="English">
</video>

Popular Recommendations

Home

Videos

Q&A