Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
HTML5 Self Hosted Video
<!DOCTYPE html>
<meta charset="UTF-8" />
<link href="//" rel="stylesheet">
<style type="text/css">
html, body {
margin: 0px;
padding: 0px;
<script type="text/javascript">
<video id="video" class="video-js vjs-default-skin vjs-big-play-centered"
controls preload="auto"
width="100%" height="100%"
<source src="" type='video/mp4' />
<source src="" type='video/webm' />
<source src="" type='video/ogg' />
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="" target="_blank">supports HTML5 video</a>
<script src="//"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.