blob: 3a60f7f559f7deb74831671b9759fd07c9a2c960 [file] [log] [blame]
<body>
<video id="video" width="300" controls></video>
<script>
if (window.internals)
runPixelTests = internals.runtimeFlags.forceOverlayFullscreenVideoEnabled;
</script>
<script src="full-screen-test.js"></script>
<script src=../media/media-file.js></script>
<script>
setSrcById("video", "../media/content/test.ogv");
var video = document.getElementById('video');
waitForEventTestAndEnd(document, 'webkitfullscreenchange', "video.clientWidth==document.body.clientWidth");
runWithKeyDown(function(){video.webkitRequestFullScreen()});
</script>
</body>