1 <!-- Used by tests which only need a basic playback. -->
5 <title>Basic Media Playback Test
</title>
9 <div><video autoplay preload
></video></div>
12 <script type=
"text/javascript">
13 var div
= document
.querySelector('div');
14 var video
= document
.querySelector('video');
16 video
.addEventListener('playing', function(event
) {
17 // Notify PyAuto that the video has started playing..
18 window
.domAutomationController
.send(true);
21 function startTest(url
) {
27 window
.domAutomationController
.send(true);
30 function initializeTest(width
, height
) {
31 // Setup calibration area for Jerky tool.
32 div
.style
.width
= width
+ 'px';
33 div
.style
.height
= height
+ 'px';
34 div
.style
.backgroundColor
= '#333333';
35 window
.domAutomationController
.send(true);