2008-07-30 08:55:27 +04:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Media test: paused</title>
|
2019-04-16 06:53:28 +03:00
|
|
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
2008-07-30 08:55:27 +04:00
|
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
2010-08-27 06:11:46 +04:00
|
|
|
<script type="text/javascript" src="manifest.js"></script>
|
2008-07-30 08:55:27 +04:00
|
|
|
</head>
|
|
|
|
<body>
|
2010-11-05 03:44:33 +03:00
|
|
|
<video id='v1'></video><audio id='a1'></audio>
|
2008-07-30 08:55:27 +04:00
|
|
|
<pre id="test">
|
|
|
|
<script class="testbody" type="text/javascript">
|
|
|
|
var v1 = document.getElementById('v1');
|
|
|
|
var a1 = document.getElementById('a1');
|
|
|
|
ok(v1.paused, "v1.paused must initially be true");
|
|
|
|
ok(a1.paused, "a1.paused must initially be true");
|
2010-08-27 06:11:46 +04:00
|
|
|
mediaTestCleanup();
|
2008-07-30 08:55:27 +04:00
|
|
|
</script>
|
|
|
|
</pre>
|
|
|
|
</body>
|
|
|
|
</html>
|