blob: b76d13183eba3567fd3881bd29464a8a78248a19 [file] [log] [blame]
<html>
<head>
<title>initialTime attribute test</title>
<script src=media-file.js></script>
<script src=video-test.js></script>
<script>
function loadeddata()
{
testExpected("video.initialTime", 0);
run("video.initialTime = 10");
testExpected("video.initialTime", 0);
endTest();
}
function start()
{
findMediaElement();
waitForEvent('loadeddata', loadeddata);
video.src = findMediaFile("video", "content/test");
}
</script>
</head>
<body onload="start()">
<video controls> </video>
<p>Test the, so far unused, 'initialTime' attribute.</p>
</body>
</html>