Created
September 8, 2015 21:16
-
-
Save moret/740a6c1f7220fd80fc48 to your computer and use it in GitHub Desktop.
This file contains hidden or 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> | |
<script type='text/javascript' src='http://cdn.clappr.io/latest/clappr.min.js'></script> | |
</head> | |
<body> | |
<div id='player'></div> | |
<div id='status'>loading...</div> | |
<script> | |
var updateStatus = function(status) {document.getElementById('status').innerHTML = status;}; | |
var player = new Clappr.Player({ | |
autoPlay: true, | |
loop: true, | |
parentId: '#player', | |
poster: 'https://s3-sa-east-1.amazonaws.com/descomplica/lap/assets/thumbs/pre-highlight.jpg', | |
source: 'https://s3-sa-east-1.amazonaws.com/descomplica/lap/assets/videos/pre-highlight/pre-highlight.m3u8' | |
}); | |
updateStatus('started'); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment