I try to copy this code but not working only loading... when i check this site its playing typefooty.com/vip/vip5.html because i think not playing because of this keyurl:"/keys/nbanew?" can you help me abut this
<script type="text/javascript">
var data = {source:"http://neunlds289.akamaized.net/nlds/nba/mia/as/live/nlncp/mia_hd.m3u8",replace:"http://neunlds289.akamaized.net/key/nlsk3/nlsk4/hls/securekey?",keyurl:"/keys/nbanew?"}
if(data.source != ""){
if (data.source.indexOf('chashbrc') != -1) {
flowplayer("#vid", {
embed: false,
fullscreen: true,
share:false,
allowfullscreen: true,
native_fullscreen: true,
autoplay: true,
hlsjs: {
xhrSetup: function(xhr) {
xhr.withCredentials = true;
}
},
clip: {
live: true,
sources: [
{ type: "application/x-mpegURL",
src : data.source }
]
}
});
document.cookie = "access=true";
} else {
player = new Clappr.Player({
source: data.source,
mimeType: "application/x-mpegURL",
autoPlay: true,
height: '100%',
width: '100%',
watermark: '',
position: 'top-right',
watermarkLink: "/",
plugins: {'core': [LevelSelector]},
parentId: "#vid"});
if(data.replace != ""){
(function (open) {
XMLHttpRequest.prototype.open = function (method, url, async, user, pass) {
if (url.toLowerCase().indexOf("fwmrm.net") >= 0) {
return;
}
var rewrittenUrl = url;
rewrittenUrl = rewrittenUrl.replace(data.replace, data.keyurl);
open.call(this, method, rewrittenUrl, async, user, pass);
};
})(XMLHttpRequest.prototype.open);
}
}
} else {
var img = new Image();
var div = document.getElementById('vid');
img.onload = function() {
div.appendChild(img);
};
img.src = '';
img.className = "hold";
}
</script>
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
VLC doesn't play m3u8 file
By pittbox in forum Video Streaming DownloadingReplies: 3Last Post: 15th Oct 2017, 19:34 -
Help me to play m3u8 with wmsAuthSign
By chiradet2544 in forum Video Streaming DownloadingReplies: 0Last Post: 5th Oct 2017, 23:10 -
Livestream.com
By sesudo in forum Video Streaming DownloadingReplies: 0Last Post: 9th Oct 2016, 11:58 -
Need help from a livestream
By hasomaso in forum Video Streaming DownloadingReplies: 5Last Post: 15th Nov 2014, 04:29 -
how to play Http or M3u8 stream with a webplayer
By Biggy in forum Video Streaming DownloadingReplies: 2Last Post: 3rd Apr 2014, 03:43