3 <title>'play' event</title>
4 <script src=media-file.js></script>
5 <script src=video-test.js></script>
10 mediaElement = new Audio();
11 waitForEvent('error');
12 waitForEvent('loadedmetadata');
13 waitForEvent('canplay');
15 waitForEvent('playing', function() { endTest(); });
16 run("mediaElement.src = findMediaFile('audio', 'content/test')");
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>