Created
April 12, 2020 00:50
-
-
Save leandromoreira/46866bfa8679c7e2ee0f6f09e38f074f 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>NOTT - The New OTT</title> | |
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js"></script> | |
</head> | |
<body class="notstealenfromnetflix"> | |
<ul class="flex-container"> | |
<li class="flex-item"> | |
<div id="player"></div> | |
</li> | |
</ul> | |
<script> | |
var player = new Clappr.Player( | |
{ | |
source: "http://localhost:8080/hls/colorbar.m3u8", | |
parentId: "#player", | |
poster: 'https://www.bogotobogo.com/FFMpeg/images/test_patterns/testsrc010.png', | |
mute: true, | |
height: 360, | |
width: 640, | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment