Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: timelapse
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 33 lines (26 sloc) 0.984 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<html>
    <!-- LayoutTests location is hard-coded to avoid duplication of code. -->
    <script src="http://svn.webkit.org/repository/webkit/trunk/LayoutTests/media/media-file.js"></script>
    <script>
        var vid;

        function canplaythrough()
        {
            vid.play();
        }

        function load()
        {
            vid = document.getElementById('vid');
            vid.addEventListener('canplaythrough', canplaythrough);

            // Mute first
            vid.muted = true;

            vid.src = "http://src.chromium.org/svn/trunk/src/chrome/test/data/media/" + findMediaFile("video", "bear");
        }
    </script>

    <body>
        <video id=vid controls autoplay>
        </video>
        <p>TEST: Video should be muted (e.g., controls) and also produce no sound (<a href="https://bugs.webkit.org/show_bug.cgi?id=57673">bug 57673</a>).</p>
        <input type="button" value="Load movie" onclick="load()">
        <br>
    </body>

</html>
Something went wrong with that request. Please try again.