| <!-- webkit-test-runner [ enableModernMediaControls=false ] --> |
| <script src=media-file.js></script> |
| testRunner.waitUntilDone(); |
| video.removeEventListener("seeked", finish); |
| video.removeEventListener("playing", playing); |
| // Ensure that the frame is always the same in pixel result. |
| video.addEventListener("seeked", finish); |
| function canplaythrough() |
| video.removeEventListener("canplaythrough", canplaythrough); |
| video.src = findMediaFile("video", "content/test"); |
| video.addEventListener("playing", playing); |
| video = document.getElementsByTagName('video')[0]; |
| video.addEventListener("canplaythrough", canplaythrough); |
| video.src = findMediaFile("video", "content/counting"); |
| <p>Making sure the controller looks ok after a second load().</p> |