Skip to content

Instantly share code, notes, and snippets.

@oevans
Last active April 27, 2016 16:33
Show Gist options
  • Save oevans/df9bb6c548fc58529df6a2fe23517680 to your computer and use it in GitHub Desktop.
Save oevans/df9bb6c548fc58529df6a2fe23517680 to your computer and use it in GitHub Desktop.
<head>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background-color: #000;
}
</style>
</head>
<body>
<video id="my-video" height="100%" width="100%"
poster="//MY_POSTER_IMAGE.JPG">
<source src="//MY_VIDEO.mp4" type='video/mp4'>
<source src="//MY_WEBM_VIDEO.webm" type='video/webm'>
</video>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment