media-controls-when-javascript-disabled.html   [plain text]


<html>
    <head>
        <style> #error { display: none; } </style>
        <script>
            function showErrorMsg() 
            {
                document.getElementById('error').style.display = 'block';
            }
        </script>
    </head>
    
<body onload="showErrorMsg()">

    <p>TEST: Video should have controls when scripting is disabled.</p>

    <video 
        src="http://movies.apple.com/movies/us/apple/ipoditunes/2007/touch/ads/apple_ipodtouch_touch_r640-9cie.mov">
    </video>

    <noscript><p>Scripting is DISABLED.</p></noscript>

    <p id=error>ERROR: JavaScript must be disabled for this test.</p>


</body>
</html>