tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

video_muted_present-manual.html (956B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>Video Test: video_muted_present</title>
      5    <link rel="author" title="Intel" href="http://www.intel.com" />
      6    <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-media-muted" />
      7    <meta name="flags" content="" />
      8    <meta name="assert" content="Check if the muted attribute is present in the video element that expecting the user hears no sound" />
      9    <script src="/common/media.js"></script>
     10  </head>
     11  <body>
     12    <p>Test passes if the video is playing without sound output and the text 'The user agent doesn't support media element.' does not appear anywhere on this page</p>
     13    <video id="m" controls muted>The user agent doesn't support media element.</video>
     14    <script type="text/javascript">
     15        var media = document.getElementById("m");
     16        media.src = getVideoURI("/media/movie_5") + "?" + new Date() + Math.random();
     17        media.play();
     18    </script>
     19  </body>
     20 </html>