1 <video controls
></video>
2 <p>Test that pause() from EMPTY network state triggers load()
</p>
3 <script src=media-file.js
></script>
4 <script src=video-test.js
></script>
6 video
.src
= findMediaFile("video", "content/test");
7 testExpected("video.networkState", HTMLMediaElement
.NETWORK_NO_SOURCE
);
9 waitForEvent("loadstart");
10 waitForEvent("ratechange");
11 waitForEvent("waiting");
12 waitForEvent("ratechange");
13 waitForEvent("durationchange");
14 waitForEvent("loadedmetadata");
15 waitForEvent("loadeddata");
16 waitForEvent("canplay");
17 waitForEventAndEnd("canplaythrough");
20 consoleWrite("SCRIPT DONE");