upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / media / video-append-source.html
1 <video controls></video>
2 <script src=media-file.js></script>
3 <script src=video-test.js></script>
4
5 <script>
6     testExpected("video.currentSrc", "");
7     var mediaFile = findMediaFile("video", "content/test");
8     var source = document.createElement("source");
9     source.setAttribute("src", mediaFile);
10     video.appendChild(source);
11
12     testExpected("video.currentSrc", "");
13
14     waitForEvent("canplaythrough", function () {
15         testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(mediaFile));
16         endTest();
17     });
18
19 </script>