| <!-- webkit-test-runner [ enableModernMediaControls=false ] --> |
| <script src=media-file.js></script> |
| testRunner.waitUntilDone(); |
| internals.suspendAnimations(); |
| setSrcByTagName("video", findMediaFile("video", "content/test")); |
| video = document.getElementsByTagName('video')[0]; |
| video.addEventListener("canplaythrough", canPlayThrough); |
| function canPlayThrough() |
| // Ensure that the frame is always the same in pixel result. |
| video.addEventListener("seeked", finish); |
| <p>The controls should not depend on preload value.</p> |
| <video preload=none controls ></video> |