Free javascript Hosting


sport-online.js

Uploaded on Dec 17 2021 16:18 by julja1974

(function () {
'use strict';

var catalogs = [{"name":"Setanta Sports Ukraine HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-172-213.livesports24.online\/setantaukraine.m3u8","quality":""},{"name":"Setanta Sports Ukraine HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-187.livesports24.online\/setantaukraine.m3u8","quality":""},{"name":"Setanta Sports 2","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-172-213.livesports24.online\/setantaplusru.m3u8","quality":""},{"name":"Setanta Sports 2 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-187.livesports24.online\/setantaplusru.m3u8","quality":""},{"name":"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c 5 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-172-213.livesports24.online\/belarusss5.m3u8","quality":""},{"name":"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c 5","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-187.livesports24.online\/belarusss5.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 1","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-172-213.livesports24.online\/uafootballua1.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 1 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-187.livesports24.online\/uafootballua1.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 2 UA","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-172-213.livesports24.online\/fooootball2.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 2 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-187.livesports24.online\/fooootball2.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 3 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-172-213.livesports24.online\/football3ua.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 3 HD UA","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-187.livesports24.online\/football3ua.m3u8","quality":""},{"name":"Sport 1","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/iptv.prosto.tv:7000\/ch113\/video.m3u8","quality":""},{"name":"Sport 1","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-187.livesports24.online\/sport1ua.m3u8","quality":""},{"name":"Sport 2","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/iptv.prosto.tv:7000\/ch115\/video.m3u8","quality":""},{"name":"Sport 2","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/iptv.prosto.tv:7000\/ch115\/video.m3u8?telegramm=yossotv","quality":""},{"name":"\u0421\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u044b\u0439 HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/live-k2302-kbp.1plus1.video\/sport\/smil:sport.smil\/playlist.m3u8","quality":""},{"name":"MostVideo.TV","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/w4.mostvideo.tv\/tv\/ch1.m3u8","quality":""},{"name":"XSPORT","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/iptv.prosto.tv:7000\/ch109\/video.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":"Qazsport KZ","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/92.46.127.146:8080\/qazsport\/index.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":"UFC HD","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/118.47.168.157:8080\/play\/a0211\/index.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":"\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-v2a1\/index.m3u8","quality":""},{"name":"Turkmen Sport","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/217.174.225.146\/hls\/ch004_720\/index.m3u8?checkedby:iptvcat.com","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 1 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/185-107-80-245.livesports24.online\/uafootballua1.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 1HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-186.livesports24.online\/uafootballua1.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 1 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/185-198-56-58.livesports24.online\/uafootballua1.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 1 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/46-166-139-70.livesports24.online\/uafootballua1.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 2 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/185-107-80-245.livesports24.online\/fooootball2.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 3 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/185-107-80-245.livesports24.online\/football3ua.m3u8","quality":""},{"name":"\u0424\u0423\u0422\u0411\u041e\u041b 2 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/46-166-139-70.livesports24.online\/fooootball2.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 3 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-186.livesports24.online\/football3ua.m3u8","quality":""},{"name":"\u0424\u0423\u0422\u0411\u041e\u041b 2 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/185-198-56-58.livesports24.online\/fooootball2.m3u8","quality":""},{"name":"\u0424\u0423\u0422\u0411\u041e\u041b 3 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/185-198-56-58.livesports24.online\/football3ua.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 2 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-186.livesports24.online\/fooootball2.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 3 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/46-166-139-70.livesports24.online\/football3ua.m3u8","quality":""},{"name":"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c 5 [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/46-166-139-70.livesports24.online\/belarusss5.m3u8","quality":""},{"name":"\u0421\u043f\u043e\u0440\u0442 1 \u0423\u043a\u0440\u0430\u0438\u043d\u0430 [SD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/46-166-139-70.livesports24.online\/sport1ua.m3u8","quality":""},{"name":"\u0421\u043f\u043e\u0440\u0442 1 \u0423\u043a\u0440\u0430\u0438\u043d\u0430 [SD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-186.livesports24.online\/sport1ua.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b [SD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/185-107-80-245.livesports24.online\/footballrus.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b 1 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/77-247-178-24.livesports24.online\/uafootballua1.m3u8","quality":""},{"name":"\u0424\u0423\u0422\u0411\u041e\u041b 2 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/77-247-178-24.livesports24.online\/fooootball2.m3u8","quality":""},{"name":"\u0424\u0423\u0422\u0411\u041e\u041b 3 HD [UA] [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/77-247-178-24.livesports24.online\/football3ua.m3u8","quality":""},{"name":"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c 5 [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/77-247-178-24.livesports24.online\/belarusss5.m3u8","quality":""},{"name":"\u0421\u043f\u043e\u0440\u0442 1 [\u0443\u043a\u0440] [SD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/77-247-178-24.livesports24.online\/sport1ua.m3u8","quality":""},{"name":"\u0421\u0422\u0410\u0420\u0422 [\u0418\u0413\u0420\u0410] [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/stream-msk-03.ott.tricolor.tv\/dtv\/id632_MSKSG-PVR-1--Channel_LIVE4\/03\/plst.m3u8","quality":""},{"name":"Setanta Sports 2 [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/77-247-178-24.livesports24.online\/setantaplusru.m3u8","quality":""},{"name":"Setanta Sports Ukraine [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/77-247-178-24.livesports24.online\/setantaukraine.m3u8","quality":""},{"name":"CANAL+SPORT [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/62.112.9.63:88\/canal+_sport\/index.m3u8?token=test","quality":""},{"name":"Racing [HQ]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/racingvic-i.akamaized.net\/hls\/live\/598695\/racingvic\/1500.m3u8","quality":""},{"name":"Canal+ Sport Polska [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/207.110.52.61:8080\/s\/hls\/5\/293\/canal_plus_sport_polska_250\/1\/1\/tracks-v1a1\/mono.m3u8","quality":""},{"name":"Edge Sport [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/imgedge.akamaized.net\/amagi_hls_data_imgAAA2AA-edgesports\/CDN\/playlist.m3u8","quality":""},{"name":"Racing [SD-]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/racingvic-i.akamaized.net\/hls\/live\/598695\/racingvic\/628.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":"Bellator MMA [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/service-stitcher.clusters.pluto.tv\/stitch\/hls\/channel\/5ebc8688f3697d00072f7cf8\/master.m3u8?terminate=false&deviceType=web&deviceMake=web&deviceModel=web&sid=730&deviceId=5ebc8688f3697d00072f7cf8&deviceVersion=DNT&appVersion=DNT&deviceDNT=0&userId=&advertisingId=&deviceLat=&deviceLon=&app_name=&appName=web&buildVersion=&appStoreUrl=&architecture=&includeExtendedEvents=false&marketingRegion=US&serverSideAds=false","quality":""},{"name":"GLORY Kickboxing [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/service-stitcher.clusters.pluto.tv\/stitch\/hls\/channel\/5417a212ff9fba68282fbf5e\/master.m3u8?terminate=false&deviceType=web&deviceMake=web&deviceModel=web&sid=736&deviceId=5417a212ff9fba68282fbf5e&deviceVersion=DNT&appVersion=DNT&deviceDNT=0&userId=&advertisingId=&deviceLat=&deviceLon=&app_name=&appName=web&buildVersion=&appStoreUrl=&architecture=&includeExtendedEvents=false&marketingRegion=US&serverSideAds=false","quality":""},{"name":"TritonFight [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/service-stitcher.clusters.pluto.tv\/stitch\/hls\/channel\/5812b0f2237a6ff45d16c3f9\/master.m3u8?terminate=false&deviceType=web&deviceMake=web&deviceModel=web&sid=726&deviceId=5812b0f2237a6ff45d16c3f9&deviceVersion=DNT&appVersion=DNT&deviceDNT=0&userId=&advertisingId=&deviceLat=&deviceLon=&app_name=&appName=web&buildVersion=&appStoreUrl=&architecture=&includeExtendedEvents=false&marketingRegion=US&serverSideAds=false","quality":""},{"name":"FOX Sports HD [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/service-stitcher.clusters.pluto.tv\/stitch\/hls\/channel\/5a74b8e1e22a61737979c6bf\/master.m3u8?terminate=false&deviceType=web&deviceMake=web&deviceModel=web&sid=705&deviceId=5a74b8e1e22a61737979c6bf&deviceVersion=DNT&appVersion=DNT&deviceDNT=0&userId=&advertisingId=&deviceLat=&deviceLon=&app_name=&appName=web&buildVersion=&appStoreUrl=&architecture=&includeExtendedEvents=false&marketingRegion=US&serverSideAds=false","quality":""},{"name":"PGA TOUR [HD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/service-stitcher.clusters.pluto.tv\/stitch\/hls\/channel\/5de94dacb394a300099fa22a\/master.m3u8?terminate=false&deviceType=web&deviceMake=web&deviceModel=web&sid=713&deviceId=5de94dacb394a300099fa22a&deviceVersion=DNT&appVersion=DNT&deviceDNT=0&userId=&advertisingId=&deviceLat=&deviceLon=&app_name=&appName=web&buildVersion=&appStoreUrl=&architecture=&includeExtendedEvents=false&marketingRegion=US&serverSideAds=false","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b [SD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/77-247-178-24.livesports24.online\/footballrus.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b [SD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-175.livesports24.online\/footballrus.m3u8","quality":""},{"name":"\u0424\u0443\u0442\u0431\u043e\u043b [SD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-186.livesports24.online\/footballrus.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":"Setanta Sport Ukraine [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/185-107-80-245.livesports24.online\/setantaukraine.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":"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c 5 [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-175.livesports24.online\/belarusss5.m3u8","quality":""},{"name":"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c 5 [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-172-221.livesports24.online\/belarusss5.m3u8","quality":""},{"name":"\u0411\u0415\u041b\u0410\u0420\u0423\u0421\u042c 5 [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"https:\/\/95-213-224-180.livesports24.online\/belarusss5.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":""},{"name":"\u0421\u0422\u0410\u0420\u0422 [\u041f\u041e\u0415\u0414\u0418\u041d\u041e\u041a] [FHD]","group":"\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","video":"http:\/\/stream-msk-06.ott.tricolor.tv\/dtv\/id629_MSKSG-PVR-1--Channel_LIVE2\/03\/plst.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">IPTV</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