Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <body onload="start()"> | |
| 4 <p>Load a video with a postive start time, ensure video.currentTime is 4.253</p> | |
| 5 <video></video> | |
| 6 <script src="video-test.js"></script> | |
|
acolwell GONE FROM CHROMIUM
2014/09/15 23:34:44
nit: Please put all the script in a <head> and ind
| |
| 7 <script src="media-file.js"></script> | |
| 8 <script> | |
| 9 waitForEventOnce('loadeddata', function() { | |
|
acolwell GONE FROM CHROMIUM
2014/09/15 23:34:44
nit: { should be on the next line.
| |
| 10 testExpected('video.currentTime', 4.253, '=='); | |
| 11 // FIXME: Once Chrome correctly exposes seekable ranges for media with | |
| 12 // positive start times, verify video.seekable.start(0) here. | |
| 13 endTest(); | |
| 14 }); | |
| 15 | |
| 16 function start() { | |
|
acolwell GONE FROM CHROMIUM
2014/09/15 23:34:44
ditto
| |
| 17 video.src = 'resources/test-positive-start-time.webm'; | |
| 18 } | |
| 19 </script> | |
| 20 </body> | |
| 21 </html> | |
| OLD | NEW |