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 function start() | 10 function start() |
11 { | 11 { |
12 findMediaElement(); | 12 findMediaElement(); |
13 var mediaFile = findMediaFile("video", "content/test"); | 13 var mediaFile = findMediaFile("video", "content/test"); |
14 video.src = mediaFile; | 14 video.src = mediaFile; |
15 | 15 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 <li>Play video to end with 'loop' set to false.</li> | 80 <li>Play video to end with 'loop' set to false.</li> |
81 <li>Once ended, set 'loop' to true.</li> | 81 <li>Once ended, set 'loop' to true.</li> |
82 <li>Call play.</li> | 82 <li>Call play.</li> |
83 <li>Verify that 'seeked' event fires, seeking back to the beginning.
</li> | 83 <li>Verify that 'seeked' event fires, seeking back to the beginning.
</li> |
84 <li>Pause video and end test.</li> | 84 <li>Pause video and end test.</li> |
85 </ol> | 85 </ol> |
86 </p> | 86 </p> |
87 <script>start()</script> | 87 <script>start()</script> |
88 </body> | 88 </body> |
89 </html> | 89 </html> |
OLD | NEW |