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