Skip to content

Instantly share code, notes, and snippets.

@evandrix
Last active December 27, 2015 06:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evandrix/7279699 to your computer and use it in GitHub Desktop.
Save evandrix/7279699 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>HTML5 Video Player</title>
<link href="http://vjs.zencdn.net/4.1/video-js.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/4.1/video.js"></script>
</head>
<body style="padding-top:16px">
<style>
.center { margin: 0 auto; width: 640px; }
</style>
<video id="example_video_1" class="video-js vjs-default-skin center"
controls preload="auto" width="640" height="264"
poster="http://video-js.zencoder.com/oceans-clip.png"
data-setup='{"example_option":true}'>
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4' />
<source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm' />
<source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' />
<!--<source src="https://drive.google.com/file/d/0B5YzkaT8iSx3M0hrTmNRa0puODQ/edit?usp=sharing" type="video/x-matroska" />-->
</video>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment