(function (widget,cId,vids){ var _ONND_URL_EMBED = "https://video.onnetwork.tv" ; var _ONND_URL_CDN_EMBED = "https://cdn.onnetwork.tv" ; var overwrites = "" var iid=Date.now() * Math.floor( 1 + Math.random() * 100 ) + "690" ; var uid="id"+Date.now() * Math.floor( 1 + Math.random() * 100 ) + "690" ; var playerInserted = false ; var nstylet = ' div.totalcontainerexs{ display:block;width:100%;margin:0px;height:auto;box-sizing:border-box;align-items:stretch; background-color:transparent ;}' + ' div.playercontainerexs{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs>div{ position:relative;display:block;width:100%;height:165px;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden;padding-bottom:0%; }' + // ' div.widgetcontainerexs.wid690>div{ padding-bottom:0%; height:165px; }' + ' div.widgetcontainerexs>div>iframe{ position:absolute;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden; }' ; var nefrag = '
' + ' ' ; var widgetPlayer = null; function insertWidget( container , ib ){ var nstyle = document.createElement( "style" ); nstyle.innerHTML = nstylet ; nstyle.dataset['cfasync']="false"; var tcontainer = document.createElement( "div" ); tcontainer.innerHTML = nefrag ; tcontainer.className = "totalcontainerexs" ; tcontainer.dataset['cfasync']="false"; document.body.appendChild( nstyle ); if (ib){ container.parentElement.insertBefore( tcontainer , document.currentScript ); } else{ container.appendChild( tcontainer ); } var wmc=document.getElementById('ld'+uid); if(wmc){ import( _ONND_URL_CDN_EMBED + '/js/widgets/widgetScrollist.js?s=202209160956' ).then(({WidgetPlayer})=>{ var wConfig = {"widgetId":690,"devicetype":"desktop","playlistitems":[{"mid":"1583415","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/1583415_3m.jpg","id":"1583415","length":"3037","title":"Aktualioji istorija (186): Simono Daukanto ir Adomo Mickevi\u010diaus Lietuva"},{"mid":"1583395","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/1583395_2m.jpg","id":"1583395","length":"1615","title":"T. Baranauskas. Seniausi Auk\u0161taitijos pamin\u0117jimai: nuo pirmosios \u017einios iki Gedimino"},{"mid":"1583392","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/1583392_2m.jpg","id":"1583392","length":"3466","title":"\u201eAktualioji istorija\u201c (187): Senov\u0117s lietuvi\u0173 religija"},{"mid":"1583380","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/1583380_3m.jpg","id":"1583380","length":"2625","title":"\u201eAktualioji istorija\u201c (188): Lietuvi\u0173 panteonas"},{"mid":"1581414","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/1581414_5m.jpg","id":"1581414","length":"8881","title":"2024-01-31 Prisimenam Romuald\u0105 Ozol\u0105"},{"mid":"1581399","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/1581399_3m.jpg","id":"1581399","length":"186","title":"Vilniaus miesto savivaldyb\u0117s valdininkas REMIGIJUS \u010cERNIUS pasisako u\u017e JAKATERIN\u0104"},{"mid":"1581398","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/1581398_5m.jpg","id":"1581398","length":"2708","title":"\u201eAktualioji istorija\u201c (190): Lietuvos archeologijos atlasai"},{"mid":"1581379","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/1581379_5m.jpg","id":"1581379","length":"8984","title":"2024-03-27 Seminaras \u201ePagarba religijos laisvei: religini\u0173 ma\u017eum\u0173 pad\u0117ties ir patir\u010di\u0173 analiz\u0117\u201d"},{"mid":"1581369","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/1581369_1m.jpg","id":"1581369","length":"414","title":"Kubilius ir Skvernelis prisipa\u017eino lenkinantys Lietuv\u0105"},{"mid":"536530","poster_url":"https://cdnt.onnetwork.tv/poster/5/3/536530_3m.jpg","id":"536530","length":"2221","title":"\u201eAktualioji istorija\u201c (143): Gedimino lai\u0161kai"},{"mid":"536524","poster_url":"https://cdnt.onnetwork.tv/poster/5/3/536524_3m.jpg","id":"536524","length":"1156","title":"Dro\u017e\u0117j\u0173 dro\u017e\u0117jas Vytautas Ulevi\u010dius: A\u0161 visk\u0105 k\u0105 gal\u0117jau pasakiau savo darbais (IV)"},{"mid":"536517","poster_url":"https://cdnt.onnetwork.tv/poster/5/3/536517_3m.jpg","id":"536517","length":"2209","title":"\u201eAktualioji istorija\u201c (142): Osman\u0173 imperija nuo galyb\u0117s vir\u0161\u016bn\u0117s iki \u017elugimo"},{"mid":"536509","poster_url":"https://cdnt.onnetwork.tv/poster/5/3/536509_6m.jpg","id":"536509","length":"1707","title":"Dro\u017e\u0117j\u0173 dro\u017e\u0117jas Vytautas Ulevi\u010dius: Lietuvoj dar negim\u0117 Karalius... (III)"},{"mid":"536500","poster_url":"https://cdnt.onnetwork.tv/poster/5/3/536500_3m.jpg","id":"536500","length":"2135","title":"\u201eAktualioji istorija\u201c (141): Osman\u0173 imperija prie\u0161 Europ\u0105"},{"mid":"532212","poster_url":"https://cdnt.onnetwork.tv/poster/5/3/532212_3m.jpg","id":"532212","length":"20","title":"TV laidoje \u201eLietuvos Hipokratas\u201c gyd. Edita Brazien\u0117"},{"mid":"532210","poster_url":"https://cdnt.onnetwork.tv/poster/5/3/532210_2m.jpg","id":"532210","length":"2735","title":"Dro\u017e\u0117j\u0173 dro\u017e\u0117jas Vytautas Ulevi\u010dius: A\u0161 nieko nepra\u0161au, a\u0161 duodu (II)"},{"mid":"532194","poster_url":"https://cdnt.onnetwork.tv/poster/5/3/532194_5m.jpg","id":"532194","length":"2478","title":"Aktualioji istorija (140): Lietuvos ir Rusijos sutartis 1920 m."},{"mid":"526349","poster_url":"https://cdnt.onnetwork.tv/poster/5/2/526349_4m.jpg","id":"526349","length":"81","title":"Lietuviai Meksikoje su\u017evejojo rekordin\u012f 127 kg tun\u0105"},{"mid":"512291","poster_url":"https://cdnt.onnetwork.tv/poster/5/1/512291_5m.jpg","id":"512291","length":"20","title":"Laidoje \u201eLietuvos Hipokratas\u201c \u2013 prof. R. Z\u030cemaitiene\u0307 Oftalmologijos galimybes atradau rezidentu\u0304roje"},{"mid":"503585","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503585_2m.jpg","id":"503585","length":"614","title":"\u017durnalistui R. Lapai\u010diui Azerbaid\u017eano Draugyst\u0117s ordinas"},{"mid":"503584","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503584_5m.jpg","id":"503584","length":"20","title":"Jolanta Keburien\u0117 Esame per ma\u017ea \u0161alis, kad tur\u0117tume 49 skirtingas greit\u0105sias"},{"mid":"503582","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503582_2m.jpg","id":"503582","length":"2859","title":"Dro\u017e\u0117j\u0173 dro\u017e\u0117jas Vytautas Ulevi\u010dius Darbus dovanoju Lietuvai"},{"mid":"503580","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503580_3m.jpg","id":"503580","length":"2025","title":"\u201eAktualioji istorija\u201c (139) \u017dygimanto Kaributai\u010dio likimas \u2013 nuo Prahos iki Pabaisko"},{"mid":"503579","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503579_3m.jpg","id":"503579","length":"2068","title":"\u201eAktualioji istorija\u201c (138) \u017dygimantas Kaributaitis \u2013 Vytauto vietininkas \u010cekijoje"},{"mid":"503576","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503576_3m.jpg","id":"503576","length":"2495","title":"\u201eAktualioji istorija\u201c (137) Pr\u016bsijos paveldo dalybos"},{"mid":"503495","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503495_3m.jpg","id":"503495","length":"2413","title":"D. Urbanavi\u010dien\u0117. Moteri\u0161kojo prado rai\u0161ka balt\u0173 tradicijoje (II)"},{"mid":"503490","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503490_3m.jpg","id":"503490","length":"2462","title":"\u201eAktualioji istorija\u201c (136) U\u017emir\u0161tieji pr\u016bsai"},{"mid":"503487","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503487_3m.jpg","id":"503487","length":"20","title":"Rasa Ra\u010dien\u0117 Man ne tas pats, kokia vaik\u0173 dant\u0173 b\u016bkl\u0117 bus jiems u\u017eaugus"},{"mid":"503486","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503486_3m.jpg","id":"503486","length":"57","title":"Juozas Luk\u0161a-Daumantas Paskutin\u0117 priesaika \u2013 tik\u0117jimo kaina"},{"mid":"503485","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503485_3m.jpg","id":"503485","length":"2468","title":"\u201eAktualioji istorija\u201c (135) Kod\u0117l Vytautas (ne)nor\u0117jo b\u016bti \u010cekijos karaliumi"},{"mid":"503483","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503483_3m.jpg","id":"503483","length":"2179","title":"D. Urbanavi\u010dien\u0117. Moteri\u0161kojo prado rai\u0161ka balt\u0173 tradicijoje (I)"},{"mid":"503474","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503474_3m.jpg","id":"503474","length":"2376","title":"\u201eAktualioji istorija\u201c (134) Vytautas Didysis kaip politikas ir \u017emogus"},{"mid":"503031","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503031_2m.jpg","id":"503031","length":"1093","title":"KT nustat\u0117, kad Konstitucijai prie\u0161tarauja kitas dalykas \u2013 apie kur\u012f parei\u0161k\u0117jai neklaus\u0117\u2026"},{"mid":"503030","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503030_3m.jpg","id":"503030","length":"1678","title":"Inija Trinkunien\u0117 Jaun\u0173 \u017emoni\u0173 balsais kalba \u2013 m\u016bs\u0173 prot\u0117viai"},{"mid":"503029","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503029_2m.jpg","id":"503029","length":"2082","title":"Ar\u016bnas Snie\u010dkus. Savo Tautos \u0161akn\u0173 pa\u017einimas (III)"},{"mid":"503028","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503028_1m.jpg","id":"503028","length":"691","title":"Ri\u010dardo Doveikos kalba skirta tremtini\u0173 pagerbimui 2021 06 14 d."},{"mid":"503027","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503027_1m.jpg","id":"503027","length":"367","title":"Lietuvos filmavimo grupei \u2013 \u017emogaus teisi\u0173 apdovanojimas"},{"mid":"503026","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503026_2m.jpg","id":"503026","length":"36","title":"L. Kas\u010di\u016bnas sienos pa\u017eeid\u0117jams paai\u0161kino j\u0173 tikr\u0105j\u012f status\u0105"},{"mid":"503025","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503025_3m.jpg","id":"503025","length":"1879","title":"Visas pasaulis liaudies dainose (II)"},{"mid":"503024","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503024_2m.jpg","id":"503024","length":"2177","title":"D. Stalauskien\u0117 apie save ir apie nepaprast\u0105 paroda \u201eLaiko ataudai\u201c"},{"mid":"503022","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503022_3m.jpg","id":"503022","length":"2783","title":"\u201eAktualioji istorija\u201c (132) XIII am\u017eius gro\u017ein\u0117je literat\u016broje"},{"mid":"503021","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503021_3m.jpg","id":"503021","length":"2056","title":"Visas pasaulis liaudies dainose (I)"},{"mid":"503019","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503019_5m.jpg","id":"503019","length":"2583","title":"\u201eAktualioji istorija\u201c (131) 1941 m. Bir\u017eelio sukilimas Vilniuje ir sukil\u0117li\u0173 kapai"},{"mid":"503016","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503016_2m.jpg","id":"503016","length":"2903","title":"\u201eAktualioji istorija\u201c (130) Okupuotos Lietuvos valstyb\u0117s garb\u0117s konsulas"},{"mid":"503015","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503015_3m.jpg","id":"503015","length":"2982","title":"\u201eAktualioji istorija\u201c (129) Likimo \u012f Raudon\u0105j\u0105 armij\u0105 nublok\u0161tas Lietuvos karys"},{"mid":"503014","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503014_4m.jpg","id":"503014","length":"623","title":"Jono Vai\u0161k\u016bno kalba mitinge \u201eU\u017d \u2013 prigimtin\u0119 \u0161eim\u0105, tautines tradicines vertybes, Konstitucij\u0105!\u201c"},{"mid":"503013","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503013_3m.jpg","id":"503013","length":"2640","title":"\u201eAktualioji istorija\u201c (128) Nepolitkorekti\u0161ka istorija"},{"mid":"503012","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/503012_2m.jpg","id":"503012","length":"252","title":"Gediminas Storpir\u0161tis \u201eBur\u0117\u201c"},{"mid":"501910","poster_url":"https://cdnt.onnetwork.tv/poster/5/0/501910_3m.jpg","id":"501910","length":"2673","title":"\u201eAktualioji istorija\u201c (133): XIV\u2013XV am\u017eiai gro\u017ein\u0117je literat\u016broje"}],"frid":1583415,"tpb":56.25,"addcss":"","firstmidvideo":"MTU4MzQxNSwxNng5LDQsMywyNDYyLDkxNzQsMSwwLDIsMywwLDAsNywwLDMsMSwwLDAsMiwwLDAsMCwwLDAsMCwwLDAsLTE7LTE7MjA7MTIwO0JSOzIwOzEyMDsxMjA7NTYsMCwwLDAsMCwwLDA7MDswOzA7MDswOzAsMA==","defsd":{"ttextlines":"3","pso":"1","plheight":"165","plback":"#ffffff","nso":"1","navwidth":"30","navheight":"20","navimleft":"1","navimright":"17","navimtop":"0","navimbottom":"0","navback":"rgb(255, 255, 255)","navcolor":"rgb(0, 0, 0)","navbackhv":"rgb(255, 255, 255)","navcolorhv":"rgb(0, 0, 0)","iso":"1","iwidth":"160","iback":"rgb(255, 255, 255)","ibackhv":"rgb(255, 255, 255)","ibackpl":"rgb(255, 255, 255)","pmleft":"0","pmright":"20","pmtop":"20","pmbottom":"10","tmleft":"0","tmright":"20","tmtop":"3","tmbottom":"11","tfontsize":"14","tcolor":"rgb(153, 153, 153)","tcolorhv":"rgb(0, 0, 0)","tcolorpl":"rgb(0, 0, 0)","dfontsize":"12","dcolor":"rgb(255, 255, 255)","dcolorhv":"rgb(255, 255, 255)","dcolorpl":"rgb(255, 255, 255)","dback":"rgba(0, 0, 0, 0.5)","dbackhv":"rgba(0, 0, 0, 0.5)","dbackpl":"rgba(0, 0, 0, 0.5)","spsize":"21","spcolor":"rgb(0, 0, 0)","spcolorhv":"rgb(255, 255, 255)","spcolorpl":"rgb(255, 255, 255)","stcolor":"#ffffff","stcolorhv":"rgba(13, 4, 0, 0.5)","stcolorpl":"rgba(13, 4, 0, 0.5)","playlist":2462}} ; wConfig['uid'] = uid; wConfig['iid'] = iid ; wConfig['cId'] = 'ld'+uid ; wmc=document.getElementById('ld'+uid); widgetPlayer = new WidgetPlayer(wConfig, wmc); }); } } window.addEventListener("message",(e)=>{ try{ if (!e.data.indexOf || (e.data.indexOf("onntv://")!=0)){ return ; } var com = {} ; try{ com = JSON.parse( e.data.substr( 8 ) ); }catch(e){ com = {} ; } switch (com.comm){ case "widgetloaded": if(parseInt(com.iid)==iid && !playerInserted){ console.log( "insertujemy" ); console.log( com ); playerInserted = true ; var pscript = document.createElement( "script" ); pscript.src = _ONND_URL_EMBED + '/embed.php?mid='+com.subject+'&iid='+iid+'&cId=p'+uid+'&widget='+widget+vids+overwrites ; pscript.async = true ; document.body.appendChild( pscript ); } break ; } }catch(e){} },false); if ((cId!="") && document.getElementById( cId )){ insertWidget( document.getElementById( cId ) , false ); }else if (document.currentScript && document.currentScript.parentElement){ insertWidget( document.currentScript , true ); } })(690,"","");