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 <script> | 10 <script> |
11 var videoCanPlayThrough = false; | 11 var videoCanPlayThrough = false; |
12 var trackLoaded = false; | 12 var trackLoaded = false; |
13 | 13 |
14 var currentCue; | 14 var currentCue; |
15 var currentCueNumber = 0; | 15 var currentCueNumber = 0; |
16 | 16 |
17 function runTests() | 17 function runTests() |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 </script> | 78 </script> |
79 </head> | 79 </head> |
80 <body onload="bodyLoaded()"> | 80 <body onload="bodyLoaded()"> |
81 <p>Tests that the video is paused after cues that have pause-on-exit fla
g are processed</p> | 81 <p>Tests that the video is paused after cues that have pause-on-exit fla
g are processed</p> |
82 <video controls> | 82 <video controls> |
83 <track id="testTrack" src="captions-webvtt/simple-captions.vtt" onlo
ad="loaded()" default> | 83 <track id="testTrack" src="captions-webvtt/simple-captions.vtt" onlo
ad="loaded()" default> |
84 </video> | 84 </video> |
85 </body> | 85 </body> |
86 </html> | 86 </html> |
OLD | NEW |