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 | 7 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
8 (Please avoid writing new tests using video-test.js) --> | 8 (Please avoid writing new tests using video-test.js) --> |
9 <script src=../video-test.js></script> | 9 <script src=../video-test.js></script> |
10 | 10 |
11 <script> | 11 <script> |
12 | 12 |
13 var seekedCount = 0; | 13 var seekedCount = 0; |
14 var testTrack; | 14 var testTrack; |
15 | 15 |
16 var trackLoaded = false; | 16 var trackLoaded = false; |
17 var videoCanPlayThrough = false; | 17 var videoCanPlayThrough = false; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 } | 67 } |
68 </script> | 68 </script> |
69 </head> | 69 </head> |
70 <body onload="start()"> | 70 <body onload="start()"> |
71 <p>Tests TextTrack's activeCues are indexed and updated during video pla
yback.</p> | 71 <p>Tests TextTrack's activeCues are indexed and updated during video pla
yback.</p> |
72 <video controls> | 72 <video controls> |
73 <track id="testTrack" src="captions-webvtt/cues-overlapping.vtt" kin
d="subtitles" onload="loaded()" default> | 73 <track id="testTrack" src="captions-webvtt/cues-overlapping.vtt" kin
d="subtitles" onload="loaded()" default> |
74 </video> | 74 </video> |
75 </body> | 75 </body> |
76 </html> | 76 </html> |
OLD | NEW |