tor-browser

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

video_volume_loudest-manual.html (995B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>Video Test: video_volume_loudest</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-volume" />
      7    <meta name="flags" content="" />
      8    <meta name="assert" content="Check if the volume attribute is set to 1.0 as loudest in the video element that expecting the user hears sound loudly" />
      9    <script src="/common/media.js"></script>
     10  </head>
     11  <body>
     12    <p>Test passes if the video is playing with sound heard and the text 'The user agent doesn't support media element.' does not appear anywhere on this page</p>
     13    <video id="m" controls>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.volume = 1.0;
     18        media.play();
     19    </script>
     20  </body>
     21 </html>