Created
November 20, 2014 04:02
-
-
Save flavioribeiro/bdd583401eca26a16a34 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> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<script type="text/javascript" charset="utf-8" src="http://cdn.clappr.io/j/vendor/jquery.min.js"></script> | |
<script type="text/javascript" charset="utf-8" src="http://cdn.clappr.io/j/vendor/underscore-min.js"></script> | |
<script type="text/javascript" charset="utf-8" src="http://cdn.clappr.io/latest/clappr.min.js"></script> | |
<script type="text/javascript" charset="utf-8" src="http://cdn.clappr.io/bemtv/alpha/p2phls.min.js"></script> | |
<script type="text/javascript" charset="utf-8" src="http://cdn.clappr.io/bemtv/latest/p2phlsstats.min.js"></script> | |
<title>Globo Media Control Test Page</title> | |
<script type="text/javascript" charset="utf-8"> | |
window.onload = function() { | |
var player = new Clappr.Player({ | |
source: 'your_source_here', | |
plugins: {playback: [P2PHLS], container: [P2PHLSStats]}, | |
}); | |
player.attachTo(document.getElementById('player-wrapper')); | |
// uncomment the next line in case you want to see the stats box | |
//p.core.containers[0].getPlugin('p2phlsstats').show(); | |
} | |
</script> | |
</head> | |
<body> | |
<div id="player-wrapper"> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment