diff options
Diffstat (limited to 'Tools/TestWebKitAPI/Tests/WebKit2/file-with-video.html')
| -rw-r--r-- | Tools/TestWebKitAPI/Tests/WebKit2/file-with-video.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Tools/TestWebKitAPI/Tests/WebKit2/file-with-video.html b/Tools/TestWebKitAPI/Tests/WebKit2/file-with-video.html new file mode 100644 index 000000000..aa2259a0f --- /dev/null +++ b/Tools/TestWebKitAPI/Tests/WebKit2/file-with-video.html @@ -0,0 +1,18 @@ +<html> +<head> + <script> + function playVideo() + { + document.getElementById("test-video").play(); + } + </script> +</head> +<body> + <p> + <video id="test-video" src="test.mp4" controls></video> + </p> + <p> + <button onclick="playVideo()">Play Video</button> + </p> +</body> +</html> |
