3 <title>'play' event
</title>
4 <script src=video-test.js
></script>
9 mediaElement
= new Audio();
10 waitForEvent('error');
11 waitForEvent('loadedmetadata');
12 waitForEvent('canplay');
13 waitForEvent('canplaythrough');
15 waitForEvent('playing', function() { endTest(); });
16 run("mediaElement.src = 'content/silence.mpg'");
17 run("mediaElement.volume = 1");
18 run("mediaElement.play()");
23 <body onload=
"start()">
24 <p>Test that a 'play' event listener is triggered when fired by a new audio element.
</p>