Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>HLS with Video.js Demo in KAROUSHI Blog</title>
<link href="css/video-js.min.css" rel="stylesheet">
<script src="js/video.js"></script>
<script src="js/videojs-media-sources.js"></script>
<script src="js/videojs.hls.min.js"></script>
<script type="text/javascript">
videojs.options.flash.swf = "js/video-js.swf";
</script>
</head>
<body>
<video id="demo" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="auto" width="640" height="360" data-setup="{}">
<source src="http://<IP Addresses>/sample.m3u8" type="application/x-mpegURL">
</video>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment