Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Video HTML5 Browser
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 7:37am
Edited 29-Aug-12 7: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
0 OriginalGriff 330
1 Sergey Alexandrovich Kryukov 279
2 BillWoodruff 245
3 Afzaal Ahmad Zeeshan 215
4 CPallini 205
0 OriginalGriff 5,635
1 DamithSL 4,496
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100