| <!-- 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> |
| function canplaythrough() |
| vid = document.getElementById('vid'); |
| vid.addEventListener('canplaythrough', canplaythrough); |
| vid.src = "http://src.chromium.org/svn/trunk/src/chrome/test/data/media/" + findMediaFile("video", "bear"); |
| <video id=vid controls autoplay> |
| <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()"> |