Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VideoHTML5Browser
I am trying to implement video tag, and i want to use track. But as no browser support this track tag , so how will i implement it, as if iy will not working on my browser , how will i check whether it is working correctly or not.
Posted 29-Aug-12 6:37am
Edited 29-Aug-12 6:39am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

<video width="320" height="240" controls="controls">
  <source src="forrest_gump.mp4" type="video/mp4" />
  <source src="forrest_gump.ogg" type="video/ogg" />
  <track src="subtitles_en.vtt" kind="subtitles" srclang="en">
  label="English">
  <track src="subtitles_no.vtt" kind="subtitles" srclang="no">
  label="Norwegian">
</track></track></video>
 
As for browser support, the Mozilla Developer Network claims there is partial support in Chrome 16. https://developer.mozilla.org/en-US/docs/HTML/HTML_Elements/track?redirectlocale=en-US&redirectslug=HTML%2FElement%2Ftrack[^]
  Permalink  
Comments
footballpardeep at 29-Aug-12 13:05pm
   
I have Google chrome 21.0.1180.60 will it work
Shelby Robertson at 29-Aug-12 13:20pm
   
Try it. If Mozilla is to be believed, anything above version 16 should have at least partial support.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 800
1 OriginalGriff 503
2 Abhinav S 253
3 thatraja 245
4 Emre Ataseven 200
0 Sergey Alexandrovich Kryukov 8,282
1 OriginalGriff 4,750
2 Peter Leow 3,784
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 29 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid