Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/embedded-content/the-video-element/video_dynamic_poster_absolute.htm - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<meta charset=UTF-8>
<title>The 'HTMLVideoElement' interface supports setting 'poster' to an absolute URL</title>
<link rel="match" href="video_dynamic_poster-ref.htm">
<meta name="assert" content="The 'HTMLVideoElement' interface supports setting 'poster' to an absolute URL">
<video id="video0">Your browser does not support video.</video>
<script>
var testElem = document.getElementById("video0");
testElem.poster = "/media/poster.png";
</script>