Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-frame-accurate-seek.html
bloba92a8662f416e131bfd366a9d035f5df7d1e8380
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="media-file.js"></script>
5 <script src="video-paint-test.js"></script>
6 </head>
7 <body onload="setSrcByTagName('video', findMediaFile('video', 'content/test-25fps')); initAndSeeked()">
8 <p>Test that setting currentTime is frame-accurate. The three videos below should be showing frames 12, 13, and 14.</p>
9 <video oncanplaythrough='event.target.currentTime=(12/25)'></video>
10 <video oncanplaythrough='event.target.currentTime=(13/25)'></video>
11 <video oncanplaythrough='event.target.currentTime=(14.6/25)'></video>
12 </body>
13 </html>