Add new access object callback
[framework/web/webkit-efl.git] / LayoutTests / media / video-src-source.html
1 <body>
2 <video><source></source></video>
3 <script src=media-file.js></script>
4 <script src=video-test.js></script>
5 <script>
6     var mediaFile = findMediaFile("video", "content/test");
7     waitForEvent('loadstart', function () { 
8         testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(mediaFile));
9         endTest();
10     } );
11     document.getElementsByTagName('source')[0].src = "content/error.mpeg";
12     mediaElement.src = mediaFile;
13 </script>