2019/manual/dual_video.html (31 lines of code) (raw):
<!DOCTYPE html>
<!--
Copyright 2018 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dual Playback Demo</title>
<link rel="stylesheet" href="manual-page-style.css" type="text/css">
</head>
<body class="dual-video">
<div id="player-layer">
<video class="primary"></video>
</div>
<div id="ui-layer">
<div class="item" style="background-color: #DB4437"></div>
<div class="item" style="background-color: #9E9E9E">
<video class="secondary" muted autoplay loop src="../test-materials/media/manual/dual_video/secondary-video.mp4"></video>
</div>
<div class="item" style="background-color: #4285F4"></div>
<div class="item" style="background-color: #0F9D58"></div>
<div class="item" style="background-color: #F4B400"></div>
</div>
<div id="guide" style="background-color: red"></div>
<script src="../harness/key.js"></script>
<script src="../harness/keyEvent.js"></script>
<script>
document.addEventListener('keyup', function(event) {
pushBackKeyToReturnManualPage(event);
});
</script>
<script src="../lib/manual/dual_video.js"></script>
</body>
</html>