diff options
Diffstat (limited to 'testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_002.htm')
-rw-r--r-- | testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_002.htm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_002.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_002.htm new file mode 100644 index 000000000..e63784771 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_002.htm @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html> +<head> + <title>HTML5 video with autoplay attribute.</title> + <script src="/common/media.js"></script> +</head> +<body> + <script> + function do_play(event) { + parent.window.postMessage("play event fired", "*"); + } + + document.write( + "<video id='video0' src='" + getVideoURI("/media/green-at-15") + "'" + + " autoplay onplay='do_play(event);'>" + ); + </script> + Your browser does not support HTML5 video. + </video> +</body> +</html> |