summaryrefslogtreecommitdiffstats
path: root/android_webview/test/shell/assets/full_screen_video_inside_div_test.html
blob: 7a8f4f243b467ed816a751ed123d8cc987e5bc02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!-- NOTE: The ids in this file must be kept in sync with AwContentsClientFullScreenTest -->

<html>
<head>
<script src="full_screen_video.js"></script>
</head>
<body>
<button id="fullscreenControl" autofocus style='padding:10px 10px;' onclick="goFullscreen('div'); return false">Go fullscreen</button>
<div id='div'>
    <button id="playControl" style='padding:10px 10px;' onclick="playVideo(); return false">Play</button>
    <video style = 'width: 300px; height: 300px;'  id='video'>
        <source src="video.mp4" type="video/mp4">
    </video>
</div>
</body>
</html>