OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 | 5 |
6 <script src=../media-file.js></script> | 6 <script src=../media-file.js></script> |
| 7 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 8 (Please avoid writing new tests using video-test.js) --> |
7 <script src=../video-test.js></script> | 9 <script src=../video-test.js></script> |
8 <script> | 10 <script> |
9 | 11 |
10 var trackElement; | 12 var trackElement; |
11 | 13 |
12 function start() | 14 function start() |
13 { | 15 { |
14 findMediaElement(); | 16 findMediaElement(); |
15 | 17 |
16 consoleWrite("** Add a track with video.addTextTrack()."); | 18 consoleWrite("** Add a track with video.addTextTrack()."); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 51 |
50 </script> | 52 </script> |
51 </head> | 53 </head> |
52 <body onload="start()"> | 54 <body onload="start()"> |
53 <p>Tests that TextTracks in a TextTrackList are kept in the correct orde
r.</p> | 55 <p>Tests that TextTracks in a TextTrackList are kept in the correct orde
r.</p> |
54 <video> | 56 <video> |
55 <track id="track_1" kind="captions" src="captions-webvtt/tc004-webvt
t-file.vtt" > | 57 <track id="track_1" kind="captions" src="captions-webvtt/tc004-webvt
t-file.vtt" > |
56 </video> | 58 </video> |
57 </body> | 59 </body> |
58 </html> | 60 </html> |
OLD | NEW |