Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / media-muted.html
blob40e4e418c8e2e8ed38c89f97bf3b7d3b511d3c5a
1 <html>
2 <!-- LayoutTests location is hard-coded to avoid duplication of code. -->
3 <script src="http://svn.webkit.org/repository/webkit/trunk/LayoutTests/media/media-file.js"></script>
4 <script>
5 var vid;
7 function canplaythrough()
9 vid.play();
12 function load()
14 vid = document.getElementById('vid');
15 vid.addEventListener('canplaythrough', canplaythrough);
17 // Mute first
18 vid.muted = true;
20 vid.src = "http://src.chromium.org/svn/trunk/src/chrome/test/data/media/" + findMediaFile("video", "bear");
22 </script>
24 <body>
25 <video id=vid controls autoplay>
26 </video>
27 <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>
28 <input type="button" value="Load movie" onclick="load()">
29 <br>
30 </body>
32 </html>