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-controls.js></script> | 6 <script src=../../media-controls.js></script> |
7 <script src=../../media-file.js></script> | 7 <script src=../../media-file.js></script> |
| 8 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 9 (Please avoid writing new tests using video-test.js) --> |
8 <script src=../../video-test.js></script> | 10 <script src=../../video-test.js></script> |
9 <script> | 11 <script> |
10 var testTrack; | 12 var testTrack; |
11 var region; | 13 var region; |
12 var container; | 14 var container; |
13 var totalVisibleLines; | 15 var totalVisibleLines; |
14 | 16 |
15 var seekTimes = [0.2, 0.5, 1.0, 2.3, 3.0]; | 17 var seekTimes = [0.2, 0.5, 1.0, 2.3, 3.0]; |
16 var crtSeekTime = 0; | 18 var crtSeekTime = 0; |
17 | 19 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 103 |
102 </script> | 104 </script> |
103 </head> | 105 </head> |
104 <body> | 106 <body> |
105 <p>Tests default rendering for TextTrackCues that belong to a VTTRegion.
</p> | 107 <p>Tests default rendering for TextTrackCues that belong to a VTTRegion.
</p> |
106 <video controls> | 108 <video controls> |
107 <track src="../captions-webvtt/captions-regions.vtt" kind="captions"
default onload="startTest()"> | 109 <track src="../captions-webvtt/captions-regions.vtt" kind="captions"
default onload="startTest()"> |
108 </video> | 110 </video> |
109 </body> | 111 </body> |
110 </html> | 112 </html> |
OLD | NEW |