4 <script src="media-file.js"></script>
5 <script src="video-test.js"></script>
6 <script type="text/javascript" charset="utf-8">
10 video.src = findMediaFile('video', 'content/test');
11 video.addEventListener("canplaythrough", function () {
12 video.currentTime = 1; // so the snapshot always has the same frame.
14 video.addEventListener("seeked", function() {
15 testExpected(video.currentTime, 1);
16 if (window.layoutTestController)
17 layoutTestController.notifyDone();
20 window.addEventListener('load', doSetup, false);
24 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=34966">https://bugs.webkit.org/show_bug.cgi?id=34966</a>. <br>
25 You should see the video below.</p>
27 <video width="480" height="270" poster="content/abe.png"></video>