summaryrefslogtreecommitdiffstats
path: root/dom/media/test/reftest/bipbop_300_215kbps.mp4.lastframe.html
blob: 600b04a4f07c8ace8d23673606a8dc261a922faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<script type="text/javascript">
function doTest() {
  var video = document.getElementById("v1");
  video.src = "../bipbop_300_215kbps.mp4";
  video.play();
  video.addEventListener("ended", function() {
    document.documentElement.removeAttribute('class');
  }, {once: true});
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</head>
<body>
<video id="v1" style="position:absolute; left:0; top:0"></video>
</body>
</html>