| <html> |
| <head> |
| <script src=media-file.js></script> |
| <script src="media-controls.js"></script> |
| <script> |
| if (window.testRunner) |
| testRunner.waitUntilDone(); |
| |
| function start() |
| { |
| setSrcByTagName("video", "content/counting.ogv"); |
| } |
| |
| function finish() |
| { |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| } |
| </script> |
| </head> |
| <body onload="start()"> |
| <p>Movie with no audio track. The volume button should not render.</p> |
| <video controls oncanplaythrough="finish()"></video> |
| </body> |
| <script> |
| const video = document.querySelector('video'); |
| enableTestMode(video); |
| </script> |
| </html> |