OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src=media-file.js></script> | 4 <script src=media-file.js></script> |
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 5 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
6 (Please avoid writing new tests using video-test.js) --> | 6 (Please avoid writing new tests using video-test.js) --> |
7 <script src=video-test.js></script> | 7 <script src=video-test.js></script> |
8 | 8 |
9 <script> | 9 <script> |
10 var endedCount = 0; | 10 var endedCount = 0; |
11 var canplaythroughCount = 0; | 11 var canplaythroughCount = 0; |
12 var audio; | 12 var audio; |
13 | 13 |
14 function start() | 14 function start() |
15 { | 15 { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 <audio controls autoplay></audio> | 55 <audio controls autoplay></audio> |
56 <p><b>Test ended by:</b> | 56 <p><b>Test ended by:</b> |
57 <ol> | 57 <ol> |
58 <li>Play to the end.</li> | 58 <li>Play to the end.</li> |
59 <li>When 'ended' event fires, change the source.</li> | 59 <li>When 'ended' event fires, change the source.</li> |
60 <li>Verify that 'ended' event fires again on different source.</li> | 60 <li>Verify that 'ended' event fires again on different source.</li> |
61 </ol> | 61 </ol> |
62 </p> | 62 </p> |
63 </body> | 63 </body> |
64 </html> | 64 </html> |
OLD | NEW |