OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>video with a postive start time and a seek after start time</title> |
| 3 <script src="../resources/testharness.js"></script> |
| 4 <script src="../resources/testharnessreport.js"></script> |
| 5 <div id="log"></div> |
| 6 <video controls></video> |
| 7 <script> |
| 8 async_test(function(t) { |
| 9 var video = document.querySelector('video'); |
| 10 |
| 11 video.onloadeddata = t.step_func(function() { |
| 12 assert_equals(video.currentTime, 5, 'currentTime'); |
| 13 |
| 14 // FIXME: Once Chrome correctly exposes seekable ranges for media with |
| 15 // positive start times, verify video.seekable.start(0) here. |
| 16 t.done(); |
| 17 }); |
| 18 |
| 19 video.src = 'resources/test-positive-start-time.webm#t=5'; |
| 20 }); |
| 21 </script> |
OLD | NEW |