<!DOCTYPE HTML>
<html>
  <head>
    <title>GV autoplay play request test</title>
    <script type="text/javascript" src="manifest.js"></script>
    <script type="text/javascript" src="AutoplayTestUtils.js"></script>
    <script src="/tests/SimpleTest/EventUtils.js"></script>
</head>
<body>
<script>

window.addEventListener("message",
  (event) => {
    // Here we just want to test if media can start from iframe correctly, and
    // we don't really care about if it's audible or not.
    const isMuted = false;
    playAndPostResult(isMuted, event.source);
  });
let w = window.opener || window.parent;
w.postMessage("ready", "*");

</script>
</body>
</html>
