-
-
Save wisicn/4983702 to your computer and use it in GitHub Desktop.
video.js sample for a m3u8 HLS ABR content
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
<!doctype html> | |
<html> | |
<head> | |
<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet"> | |
<script src="http://vjs.zencdn.net/c/video.js"></script> | |
</head> | |
<body> | |
<video id="my_video_1" class="video-js vjs-default-skin" controls | |
preload="auto" width="640" height="264" poster="my_video_poster.png" | |
data-setup="{}"> | |
<source src="http://server.name.tld/HLS/path.m3u8" type='application/vnd.apple.mpegurl'> | |
</video> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment