fsp1
5 years ago in HTML
<!DOCTYPE html><html><head>
<meta charset="utf-8" /><script src="//ssl.p.jwpcdn.com/player/v/8.10.1/jwplayer.js" type="bc0cc1c0ad33d62bfd0ce3ef-text/javascript"></script>
<meta name="referrer" content="no-referrer" />
</head>
<body>
<script type="bc0cc1c0ad33d62bfd0ce3ef-text/javascript"> jwplayer.key='XSuP4qMl+9tK17QNb+4+th2Pm9AWgMO/cYH8CI0HGGr7bdjo'; </script>
<div id="player"></div>
<script type="bc0cc1c0ad33d62bfd0ce3ef-text/javascript">
var xhttp = new XMLHttpRequest();
xhttp.open("GET", "https://unity.tbxapis.com/v0/contents/5ba26cb21f8d240b44c2d838/url?network=foxmaspremium&_c=1569005557820", true);
xhttp.setRequestHeader("Authorization", "JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJUb29sYm94IERpZ2l0YWwgU0EiLCJhdWQiOiJ1bml0eS50YnhhcGlzLmNvbSIsImlhdCI6MTU2OTAwNTU1NSwiZXhwIjoxNTY5MTc4MzU1LCJjb3VudHJ5IjoiQVIiLCJsYW5ndWFnZSI6ImVzIiwiY2xpZW50IjoiOWQyOWEzNzIzZTk5MjVjMzc1NDc4ZTJjODhjYWM5NWYiLCJkZXZpY2UiOiI3ZmI5Yzc4NDI1NDczYmE5N2YwMjVmYTA0OGU5ZTBmZGUyMjk5YzE0Iiwic3Vic2NyaWJlciI6IjIxMTQ1ODgxIiwiaW5kZXgiOiI1ODkwOGY4MmU1Zjk0NjUxZjNmNDRjYzEiLCJjdXN0b21lciI6IjUzOWIzYTIwMzIzMDU1MzgzMzViOTNmYyIsInByb2ZpbGUiOiI1OTYxMjE4YjUxZjA3ZjFkMDBiYzExZjUiLCJtYXhSYXRpbmciOjN9.7wPV4JjK7a0SJoTj3Z-O6A-hgISpOrHpy-cCP-j9eH0");
xhttp.send();
xhttp.onreadystatechange = function() {
if (xhttp.readyState == 4 && xhttp.status == 200) {
var jsonResponse = JSON.parse(xhttp.responseText);
var m3u8 = jsonResponse['entitlements'][2]['url'];
var playerInstance = jwplayer("player");
playerInstance.setup({
file: m3u8,
type: "hls",
width: "100%",
height: "100%",
aspectratio: "16:9",
autostart: false,
cast: {},
});
}
}
</script>
<script src="https://ajax.cloudflare.com/cdn-cgi/scripts/95c75768/cloudflare-static/rocket-loader.min.js" data-cf-settings="bc0cc1c0ad33d62bfd0ce3ef-|49" defer=""></script></body></html>