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 | 10 |
9 <script> | 11 <script> |
10 | 12 |
11 var seekedCount = 0; | 13 var seekedCount = 0; |
12 var testTrack; | 14 var testTrack; |
13 | 15 |
14 var trackLoaded = false; | 16 var trackLoaded = false; |
15 var videoCanPlayThrough = false; | 17 var videoCanPlayThrough = false; |
16 | 18 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 } | 67 } |
66 </script> | 68 </script> |
67 </head> | 69 </head> |
68 <body onload="start()"> | 70 <body onload="start()"> |
69 <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> |
70 <video controls> | 72 <video controls> |
71 <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> |
72 </video> | 74 </video> |
73 </body> | 75 </body> |
74 </html> | 76 </html> |
OLD | NEW |