gecko/layout/reftests/webm-video/poster-7.html

12 lines
420 B
HTML

<!DOCTYPE HTML>
<html class="reftest-wait">
<body style="background:white;">
<!-- Test that poster frame changes when you change the poster attribute. -->
<video src="black140x100.webm"
preload="none"
id="v"
onload="document.getElementById('v').poster = 'red140x100.png'; setTimeout(function(){document.documentElement.className = '';}, 0);"
poster="blue250x200.png"></video>
</body>
</html>