Created
September 22, 2016 21:17
-
-
Save lsiden/c8cdcca7f14eae53b2fe8eb326febb91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<link href="http://vjs.zencdn.net/5.11.6/video-js.css" rel="stylesheet"> | |
<!--[if IE 8]> | |
<script src="http://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script> | |
<![endif]--> | |
<script src="http://vjs.zencdn.net/5.11.6/video.js"></script> | |
<script src="videojs-contrib-hls.min.js"></script> | |
</head> | |
<body> | |
<video id="player" class="video-js vjs-default-skin" controls preload="auto" width="640" height="264" data-setup="{}" controls> | |
<source src="http://path/to/playlist.m3u8" type='application/x-mpegURL'> | |
<p class="vjs-no-js"> | |
To view this video please enable JavaScript, and consider upgrading to a web browser that | |
<a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a> | |
</p> | |
</video> | |
<br> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment