Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Streaming Example


Sorry i am newbie ...
Could you please show me an example of jwplayer when you can play this streaming file:

var livethumb_location = "http://stream.tvim.tv/livethumb/";
var hls_location = "http://web1.io.siol.net/";
var rtsp_location = "rtsp://rtsp.tvim.tv/live/";

the channel ID:
channels.push({bkdid:"promo",coreidext:"IPKO",epg_id:"IPKO",name:"IPKO promo channel",prot:"none"});

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have the full location to the hls stream?

It would be loaded like this – http://support.jwplayer.com/customer/portal/articles/1430189-about-hls-streaming

emiljano_doda

User  
0 rated :

This is the full script and i want to convert into jw player

<script>
var refreshTimeout = null;
var channels = [];
var lang_notvguide = "Nuk ka TV guidë";
var addfav = "SHTO TEK TË PREFERUARAT";
var remfav = "LARGO TË PREFERUARËN";

var livethumb_location = "http://stream.tvim.tv/livethumb/";
var hls_location = "http://web1.io.siol.net/";
var rtsp_location = "rtsp://rtsp.tvim.tv/live/";

var tempUrl = null;


var favorites = [];



channels.push({bkdid:"promo",coreidext:"IPKO",epg_id:"IPKO",name:"IPKO promo channel",prot:"none"});

channels.push({bkdid:"rtk",coreidext:"RTK",epg_id:"RTK",name:"RTK",prot:"none"});

channels.push({bkdid:"topchannel",coreidext:"TopChannel",epg_id:"TopChannel",name:"Top Channel",prot:"none"});

channels.push({bkdid:"klankosova",coreidext:"KlanKosova",epg_id:"KlanKosova",name:"KlanKosova",prot:"none"});

channels.push({bkdid:"klantv",coreidext:"Klan",epg_id:"Klan",name:"KLAN TV",prot:"none"});

channels.push({bkdid:"topnews",coreidext:"TopNews",epg_id:"TopNews",name:"Top News",prot:"none"});

channels.push({bkdid:"bigbang",coreidext:"BangBang",epg_id:"BangBang",name:"Bang Bang",prot:"none"});

channels.push({bkdid:"cufotv",coreidext:"Cufo",epg_id:"Cufo",name:"Cufo TV",prot:"none"});

channels.push({bkdid:"juniortv",coreidext:"Junior",epg_id:"Junior",name:"Junior TV",prot:"none"});

channels.push({bkdid:"ducktv",coreidext:"DUCKTV",epg_id:"DUCKTV",name:"DUCKTV",prot:"none"});

channels.push({bkdid:"mymusic",coreidext:"MyMusic",epg_id:"MyMusic",name:"My Music",prot:"none"});

channels.push({bkdid:"tchannel",coreidext:"T-channel",epg_id:"T-channel",name:"T-Channel",prot:"none"});

channels.push({bkdid:"digiplus",coreidext:"Plus",epg_id:"Plus",name:"Digi+",prot:"none"});

channels.push({bkdid:"filmkomedi",coreidext:"Komedi",epg_id:"Komedi",name:"Film Komedi",prot:"none"});

channels.push({bkdid:"filmaksion",coreidext:"Aksion",epg_id:"Aksion",name:"Film Aksion",prot:"none"});

channels.push({bkdid:"expshkence",coreidext:"ExpShkence",epg_id:"ExpShkence",name:"EXP Shkence",prot:"none"});

channels.push({bkdid:"exphistori",coreidext:"ExpHistory",epg_id:"ExpHistory",name:"EXP Histori",prot:"none"});

channels.push({bkdid:"foxlife",coreidext:"FoxLife",epg_id:"FoxLife",name:"Fox Life",prot:"none"});

channels.push({bkdid:"foxcrime",coreidext:"FoxCrime",epg_id:"FoxCrime",name:"Fox Crime",prot:"none"});

channels.push({bkdid:"supersonic",coreidext:"SuperSonic",epg_id:"SuperSonic",name:"SuperSonic TV",prot:"none"});

channels.push({bkdid:"eurosport",coreidext:"EuroSport",epg_id:"EuroSport",name:"EuroSport",prot:"none"});

channels.push({bkdid:"supersport1",coreidext:"SuperSportKosova-1",epg_id:"SuperSportKosova-1",name:"SuperSport Kosova 1",prot:"none"});

channels.push({bkdid:"supersport2",coreidext:"SuperSportKosova-2",epg_id:"SuperSportKosova-2",name:"SuperSport Kosova 2",prot:"none"});

channels.push({bkdid:"ssnews",coreidext:"SuperSportNews",epg_id:"SuperSport1",name:"SuperSport News",prot:"none"});


function ArrayIndexOf(a, fnc) {
if (!fnc || typeof (fnc) != 'function') {
return -1;
}

if (!a || !a.length || a.length < 1) return -1;
for (var i = 0; i < a.length; i++) {
if (fnc(a[i])) return i;
}

return -1;
}

var coreID = window.location.hash.replace("#/", "");
var index = ArrayIndexOf(channels, function(obj) {
return obj.coreidext == coreID;
});
if (index < 0 || index >= channels.length)
window.location = "/tv";

$(document).ready(function () {
$('#tv').addClass('navitemholderselected');
$('#today').click();
var pathname = window.location.hash.replace("#/", "");

$.ajax({
type: "GET",
url: "/script/webepg/perchannelepg/"+pathname+"/"+"0",
success: function(r){
repairHTML(r);
initPlayerPage();
}
});
setInterval("minuteTask();",60000);
refreshTimeout = setTimeout("refreshDayEPG();", undefined * 1000);
});
</script>

Ethan Feldman

JW Player Support Agent  
0 rated :

Sorry but I have no idea what to do with this. Please look over the link I provided. Just use a full link to the m3u8 as the player’s file variable. It is really as simple as that.

This question has received the maximum number of answers.