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 |
| 6 (Please avoid writing new tests using video-test.js) --> |
5 <script src=video-test.js></script> | 7 <script src=video-test.js></script> |
6 | 8 |
7 <script> | 9 <script> |
8 function start() | 10 function start() |
9 { | 11 { |
10 findMediaElement(); | 12 findMediaElement(); |
11 var mediaFile = findMediaFile("video", "content/test"); | 13 var mediaFile = findMediaFile("video", "content/test"); |
12 video.src = mediaFile; | 14 video.src = mediaFile; |
13 | 15 |
14 consoleWrite("<br><em>++ Video is initially paused and 'loop' un
set.</em>"); | 16 consoleWrite("<br><em>++ Video is initially paused and 'loop' un
set.</em>"); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 <li>Play video to end with 'loop' set to false.</li> | 80 <li>Play video to end with 'loop' set to false.</li> |
79 <li>Once ended, set 'loop' to true.</li> | 81 <li>Once ended, set 'loop' to true.</li> |
80 <li>Call play.</li> | 82 <li>Call play.</li> |
81 <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> |
82 <li>Pause video and end test.</li> | 84 <li>Pause video and end test.</li> |
83 </ol> | 85 </ol> |
84 </p> | 86 </p> |
85 <script>start()</script> | 87 <script>start()</script> |
86 </body> | 88 </body> |
87 </html> | 89 </html> |
OLD | NEW |