Created
July 26, 2017 20:55
-
-
Save mbertrand/6145e02378e2ef29d9103170e100a7ac 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
<html> | |
<head> | |
</head> | |
<body> | |
<video id=example-video width=600 class="video-js vjs-default-skin" controls> | |
<source | |
src="https://d3p30yeni206w0.cloudfront.net/transcoded/1/26325823-6405-4423-8e54-f893ec815300/video__index.m3u8" | |
type="application/x-mpegURL"> | |
</video> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/video.js/5.20.1/video-js.min.css" /> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/5.20.1/video.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.7.0/videojs-contrib-hls.min.js"></script> | |
<script> | |
var player = videojs('example-video'); | |
player.enableTouchActivity(); | |
player.play(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment