Free javascript Hosting


julja.js

Uploaded on Dec 19 2021 00:28 by julja1974

(function () {
'use strict';

var catalogs = [{"name":"Свежаки HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://ed-nl-01.mycdn.video/fresh/index.m3u8","quality":""},{"name":"Уже видел(Хит) HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://ed-nl-01.mycdn.video/hit/index.m3u8","quality":""},{"name":"AkuDji tv","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://hls.goodgame.ru/hls/5346.m3u8","quality":""},{"name":"ХИТ HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://195.9.195.19:8001/hls2/vipcinemahd/index.m3u8","quality":""},{"name":"PZNstreams HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://hls.goodgame.ru/hls/180960.m3u8","quality":""},{"name":"Millenium TV","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://tv1.mmg.ooo/live/hd.stream/playlist.m3u8","quality":""},{"name":"FILM-TV","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://hlss.goodgame.ru/hls/180960.m3u8","quality":""},{"name":"AlexVira HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://hlss.goodgame.ru/hls/106103.m3u8","quality":""},{"name":"VKTV HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://hlss.goodgame.ru/hls/173945.m3u8","quality":""},{"name":"Firedron HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://cdnhls.goodgame.ru/hls/180204.m3u8","quality":""},{"name":"DiselBoy","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://cdnhls.goodgame.ru/hls/179450.m3u8","quality":""},{"name":"STR TV","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://hlss.goodgame.ru/hls/185110.m3u8","quality":""},{"name":"BACKUSTV","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://stream.backustv.ru/live/btv/index.m3u8","quality":""},{"name":"BACKUSTV СТРАШНОЕ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://stream.backustv.ru/live/btv2/index.m3u8","quality":""},{"name":"Твоё ТВ HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://stream-norst.cf:8080/tvoetv/index.m3u8","quality":""},{"name":"Blue Crabs TV","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://stream-norst.cf:8080/crabs/index.m3u8 ","quality":""},{"name":"AVD TV","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://autopilot.catcast.tv/content/40791/index.m3u8","quality":""},{"name":"NorMax","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://autopilot.catcast.tv/content/40660/index.m3u8","quality":""},{"name":"Ростов-Папа ТВ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://live-rostovpapa.cdnvideo.ru/rostovpapa/rostovpapa.sdp/playlist.m3u8","quality":""},{"name":"Своё ТВ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://live.stv24.tv/svoetv/MQ_video.m3u8","quality":""},{"name":"Maтч TВ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://83.222.205.65:8080/matchtvhd/index.m3u8","quality":""},{"name":"XSPORT HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/iptv.prosto.tv:7000\/ch110\/video.m3u8","quality":""},{"name":"Королёв ТВ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ai5dhpwuk8j.a.trbcdn.net/livemaster/lr4wy_live-b9nqfoyk6i9.smil/playlist.m3u8","quality":""},{"name":"Red Booll","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/rbmn-live.akamaized.net\/hls\/live\/590964\/BoRB-AT\/master_1660.m3u8?xtreamiptv.m3u8","quality":""},{"name":"Insport tv","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://185.5.206.134:8081/insport/insport/chunks.m3u8","quality":""},{"name":"\u0421\u0442\u0430\u0440\u0442 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/streaming.astrakhan.ru\/astrakhanrusporthd\/tracks-v3a1\/index.m3u8","quality":""},{"name":"T+","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://213.108.175.226/telplushd/index.m3u8","quality":""},{"name":"Беларусь 5 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://185-106-121-143.livesports24.online/belarusss5.m3u8","quality":""},{"name":"VIP Premiere HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://okkotv-live.cdnvideo.ru/channel/VIP_Premiere_HD/1080p.m3u8","quality":""},{"name":"VIP Megahit HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://okkotv-live.cdnvideo.ru/channel/VIP_Megahit_HD/1080p.m3u8","quality":""},{"name":"VIP Comedy HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://okkotv-live.cdnvideo.ru/channel/VIP_Comedy_HD/1080p.m3u8","quality":""},{"name":"VIP Serial","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://okkotv-live.cdnvideo.ru/channel/VIP_Serial_HD.m3u8","quality":""},{"name":"TV1000 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://okkotv-live.cdnvideo.ru/channel/TV1000_HD.m3u8","quality":""},{"name":"TV1000 Action HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://okkotv-live.cdnvideo.ru/channel/TV1000_Action_HD.m3u8","quality":""},{"name":"Русское кино HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://okkotv-live.cdnvideo.ru/channel/TV1000_Rus_Kino_HD.m3u8","quality":""},{"name":"КИНОХИТ HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://31.134.132.245:8080/kinohit_hd/tracks-v1a1/mono.m3u8","quality":""},{"name":"Кинопоказ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://31.134.132.245:8080/kinopokaz/tracks-v1a1/mono.m3u8","quality":""},{"name":"A1 HD","group":"ФИЛЬМЫ","video":"https://okkotv-live.cdnvideo.ru/channel/A1_HD.m3u8","quality":""},{"name":"A2 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://okkotv-live.cdnvideo.ru/channel/A2_HD.m3u8","quality":""},{"name":"Amedia Hit HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://okkotv-live.cdnvideo.ru/channel/Amedia_Hit_HD.m3u8","quality":""},{"name":"ХИТ HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://103.194.169.171:8282/TRI_HIT_HD/mono.m3u8?token=93a611c10082e5eec57f8bec55d8dc4c","quality":""},{"name":"Блокбастер HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://103.194.169.171:8282/TRI_BLOKBASTER_HD/mono.m3u8?token=93a611c10082e5eec57f8bec55d8dc4c","quality":""},{"name":"Наше Мужское HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://103.194.169.171:8282/TRI_NASHE_MUZSKOE_HD/mono.m3u8?token=93a611c10082e5eec57f8bec55d8dc4c","quality":""},{"name":"Наш Кинопоказ HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://103.194.169.171:8282/TRI_NASH_KINOPOKAZ_HD/mono.m3u8?token=93a611c10082e5eec57f8bec55d8dc4c","quality":""},{"name":"Звезда HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://tvchannelstream1.tvzvezda.ru/cdn/tvzvezda/playlist_hdhigh.m3u8","quality":""},{"name":"Пятница HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://bl.uma.media/live/410336/HLS_R/6307840_7,4280320_6,2703360_5,1408000_4,1070080_3,732160_2,394240_1/1613010957/e2cf94524a064ecb46389bb54a359d9a/playlist.m3u8","quality":""},{"name":"Россия HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://a3569458063-s26881.cdn.ngenix.net/hls2/russia_hd/playlist_4.m3u8","quality":""},{"name":"EVRASIA TV","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://stream.euroasia.lfstrm.tv/perviy_evrasia/1/index.m3u8","quality":""},{"name":"ТНТ4 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://bl.uma.media/live/317849/HLS/4614144_3,2883584_2,1153024_1/1613027671/d161f37174905bc712e81b60d3411fc1/playlist.m3u8","quality":""},{"name":"Суббота HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://bl.uma.media/live/317845/HLS/4614144_3,2883584_2,1153024_1/1613109268/2fb2de98a984b4b86bc2cdd980da3430/playlist.m3u8","quality":""},{"name":"1PHK","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://serv25.vintera.tv:8081/1pnk/1pnk/playlist.m3u8","quality":""},{"name":"Новороссия ТВ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott.inmart.tv:8081/19/index.m3u8","quality":""},{"name":"Первый республиканский ТВ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott.inmart.tv:8081/18/index.m3u8","quality":""},{"name":"ТНТ HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https://bl.uma.media/live/410338/HLS/6307840_7/1613013807/79ad96b5b87fdce129191b83aaf2fb46/playlist.m3u8","quality":""},{"name":"World Of Free Sports TV [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/a.jsrdn.com\/broadcast\/ab14783a09\/+0000\/high\/c.m3u8","quality":""},{"name":"Мир 24 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://hls.mirtv.cdnvideo.ru/mirtv-parampublish/mir24_2500/playlist.m3u8","quality":""},{"name":"Cineman arm6","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott-cdn.ucom.am/s66/04.m3u8","quality":""},{"name":"Filmzon ATV arm","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott-cdn.ucom.am/s48/04.m3u8","quality":""},{"name":"Kinoman ATV arm","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott-cdn.ucom.am/s94/04.m3u8","quality":""},{"name":"Live 5","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott-cdn.ucom.am/s6/04.m3u8","quality":""},{"name":"Dar 21","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott-cdn.ucom.am/s10/04.m3u8","quality":""},{"name":"Erkir media","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott-cdn.ucom.am/s7/04.m3u8","quality":""},{"name":"Viasat Sport [RU] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/persik.tv\/stream\/3602\/287583\/10249.m3u8","quality":""},{"name":"CTC Kids","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://okkotv-live.cdnvideo.ru/channel/CTC_Kids_HD.m3u8","quality":""},{"name":"MULT TunTunik","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott-cdn.ucom.am/s46/04.m3u8","quality":""},{"name":"sky1 [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/skylivesky-i.akamaihd.net\/hls\/live\/569780\/skylive\/sky1_extreme@569780.m3u8","quality":""},{"name":"sky2 [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/skylivesky-i.akamaihd.net\/hls\/live\/569780\/skylive\/sky2_extreme@569780.m3u8","quality":""},{"name":"MULT Xaraliq ATV ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott-cdn.ucom.am/s74/04.m3u8","quality":""},{"name":"H1 International","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://amtv1.livestreamingcdn.com/am2abr/tracks-v1a1/index.m3u8","quality":""},{"name":"H2 ARM","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http://ott-cdn.ucom.am/s2/04.m3u8","quality":""},{"name":"1+1 Sport [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/live-k2301-kbp.1plus1.video\/sport\/smil:sport.smil\/playlist.m3u8","quality":""}];
var groups = [{"title":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438"}];

function iptv(object) {
var network = new Lampa.Reguest();
var scroll = new Lampa.Scroll({
mask: true,
over: true,
step: 250
});
var items = [];
var html = $('<div></div>');
var body = $('<div class="category-full"></div>');
var info;
var last;
var waitload;
this.create = function () {
var _this = this;
this.activity.loader(true);
var category = catalogs.filter(function (ch) {
return ch.group == object.url;
});
if(category.length){
info = Lampa.Template.get('info');
info.find('.info__rate,.info__right').remove();
scroll.render().addClass('layer--wheight').data('mheight', info);
html.append(info);
html.append(scroll.render());
this.append(category);
scroll.append(body);
this.activity.loader(false);
this.activity.toggle();
}
else {
var empty = new Lampa.Empty();
html.append(empty.render());
_this.start = empty.start;
_this.activity.loader(false);
_this.activity.toggle();
}
return this.render();
};
this.append = function (data) {
var _this3 = this;
data.forEach(function (element) {
var card = Lampa.Template.get('card', {
title: element.name,
release_year: element.group + (element.epg ? ' / ' + element.epg : '')
});
card.addClass('card--collection');
card.find('.card__img').attr('src', element.picture);
card.on('hover:focus', function () {
last = card[0];
scroll.update(card, true);
info.find('.info__title').text(element.name);
info.find('.info__title-original').text(element.group + (element.epg ? ' / ' + element.epg : ''));
});
card.on('hover:enter', function () {
var video = {
title: element.name,
url: element.video
};
Lampa.Player.play(video);
var playlist = [];
items.forEach(function (elem) {
playlist.push({
title: elem.name,
url: elem.video
});
});
Lampa.Player.playlist(playlist);
});
body.append(card);
items.push(card);
});
};
this.start = function () {
Lampa.Controller.add('content', {
toggle: function toggle() {
Lampa.Controller.collectionSet(scroll.render());
Lampa.Controller.collectionFocus(last || false, scroll.render());
},
left: function left() {
if (Navigator.canmove('left')) Navigator.move('left');else Lampa.Controller.toggle('menu');
},
right: function right() {
Navigator.move('right');
},
up: function up() {
if (Navigator.canmove('up')) Navigator.move('up');else Lampa.Controller.toggle('head');
},
down: function down() {
if (Navigator.canmove('down')) Navigator.move('down');
},
back: function back() {
Lampa.Activity.backward();
}
});
Lampa.Controller.toggle('content');
};
this.pause = function () {};
this.stop = function () {};
this.render = function () {
return html;
};
this.destroy = function () {
network.clear();
scroll.destroy();
if (info) info.remove();
html.remove();
body.remove();
network = null;
items = null;
html = null;
body = null;
info = null;
};
}

function startPlugin() {
window.plugin_iptv_688924314583118403_ready = true;
Lampa.Component.add('iptv_688924314583118403', iptv);
Lampa.Listener.follow('app', function (e) {
if (e.type == 'ready') {var ico = '<svg width="16px" height="16px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" color="#fff" fill="currentColor" class="bi bi-tv"><path d="M2.5 13.5A.5.5 0 0 1 3 13h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zM13.991 3l.024.001a1.46 1.46 0 0 1 .538.143.757.757 0 0 1 .302.254c.067.1.145.277.145.602v5.991l-.001.024a1.464 1.464 0 0 1-.143.538.758.758 0 0 1-.254.302c-.1.067-.277.145-.602.145H2.009l-.024-.001a1.464 1.464 0 0 1-.538-.143.758.758 0 0 1-.302-.254C1.078 10.502 1 10.325 1 10V4.009l.001-.024a1.46 1.46 0 0 1 .143-.538.758.758 0 0 1 .254-.302C1.498 3.078 1.675 3 2 3h11.991zM14 2H2C0 2 0 4 0 4v6c0 2 2 2 2 2h12c2 0 2-2 2-2V4c0-2-2-2-2-2z"/></svg>';
var menu_item = $('<li class="menu__item selector focus" data-action="iptv_688924314583118403"><div class="menu__ico">' + ico + '</div><div class="menu__text">СВОЁ ТВ</div></li>');
menu_item.on('hover:enter', function () {
Lampa.Select.show({
title: 'СЛАВА для ВАС',
items: groups,
onSelect: function onSelect(a) {
Lampa.Activity.push({
url: a.title,
title: a.title,
component: 'iptv_688924314583118403',
page: 1
});
},
onBack: function onBack() {
Lampa.Controller.toggle('menu');
}
});
});
$('.menu .menu__list').eq(0).append(menu_item);
}
});
}

if (!window.plugin_iptv_688924314583118403_ready) startPlugin();

})();

Back to list