(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 ) + "642" ; var uid="id"+Date.now() * Math.floor( 1 + Math.random() * 100 ) + "642" ; 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.wid642>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":642,"devicetype":"desktop","playlistitems":[{"mid":"1826767","poster_url":"https://cdnt.onnetwork.tv/poster/1/8/1826767_6m.jpg","id":"1826767","length":"298","title":"4 Faktai apie Antarktid\u0105"},{"mid":"1826670","poster_url":"https://cdnt.onnetwork.tv/poster/1/8/1826670_5m.jpg","id":"1826670","length":"315","title":"\u201eNulinio ta\u0161ko\u201c energija Mokslo stebuklas ar fantastikos utopija"},{"mid":"1750559","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750559_4m.jpg","id":"1750559","length":"8","title":"Cylinder Can screen repair process of graphics, pixels."},{"mid":"1750554","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750554_1m.jpg","id":"1750554","length":"10","title":"Field frame protective wire mesh process of Drones in Action - Good Tools & Machinery make Work Easy"},{"mid":"1750548","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750548_1m.jpg","id":"1750548","length":"17","title":"Hydraulic press vs Nokia 3310"},{"mid":"1750545","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750545_6m.jpg","id":"1750545","length":"13","title":"Wireless Power Bank Pocket Small Portable Large Capacity Mini Power Bank"},{"mid":"1750543","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750543_2m.jpg","id":"1750543","length":"1988","title":"Why is it so hard to return to the moon?"},{"mid":"1750530","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750530_1m.jpg","id":"1750530","length":"40","title":"JIGOO C500 Cordless Vacuum: Ultimate Cleaning Power"},{"mid":"1750525","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750525_4m.jpg","id":"1750525","length":"90","title":"Ausom GX1 Electric Scooter: 500W Motor, 15.6Ah Battery, NFC Unlock"},{"mid":"1750523","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750523_2m.jpg","id":"1750523","length":"94","title":"Unveiling Narwal Freo X Plus: Certified Zero Hair Tangling & 7 Weeks Dust Storage"},{"mid":"1750520","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750520_3m.jpg","id":"1750520","length":"128","title":"Swiitol C18 Pro 18W Laser Engraver"},{"mid":"1750454","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1750454_4m.jpg","id":"1750454","length":"155","title":"Get to Know FOSSiBOT F3600 Pro: 3840Wh, 3600W | Expandable Up to 11520Wh | Released Aug 5"},{"mid":"759905","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759905_3m.jpg","id":"759905","length":"44","title":"Sudau\u017eytas Rusijos \u0161tabas su HIMAR"},{"mid":"759392","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759392_4m.jpg","id":"759392","length":"184","title":"JAV kariuomen\u0117s ataka su M777 haubicomis"},{"mid":"759370","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759370_6m.jpg","id":"759370","length":"176","title":"155 mm. haubicos CAESAR naudojimo taktika: greitis toks, kad okupantai nesp\u0117ja reaguoti "},{"mid":"759362","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759362_1m.jpg","id":"759362","length":"373","title":"\u201eAzovo\u201c snaiperis su veiksmo kamera nufilmavo m\u016b\u0161\u012f apkasuose: rusai atakavo su \u0161arvuo\u010diais"},{"mid":"759337","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759337_5m.jpg","id":"759337","length":"168","title":"155 mm haubicos CAESAR ataka Ukrainoje"},{"mid":"759335","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759335_2m.jpg","id":"759335","length":"140","title":"Totali kulk\u0173 kru\u0161a: \u201eTarptautinio legiono\u201c \u017eiauraus m\u016b\u0161io su rusais fragmentas"},{"mid":"759331","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759331_4m.jpg","id":"759331","length":"66","title":"MLRS HIMARS ataka prie\u0161 rusus: pirmasis uficialus video i\u0161 Ukrainos \u0161tabo"},{"mid":"759322","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759322_3m.jpg","id":"759322","length":"27","title":"Bumerangas: rus\u0173 raketa smog\u0117 \u012f savi\u0161kius"},{"mid":"759319","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759319_2m.jpg","id":"759319","length":"696","title":"Pragaras \u017eem\u0117je: Rusijos amunicijos sand\u0117lio sprogimas"},{"mid":"759306","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/759306_3m.jpg","id":"759306","length":"60","title":"\u0160\u016bvio tikslumo skirtumas tarp HIMARS ir BM-21 \"Grad\""},{"mid":"753546","poster_url":"https://cdnt.onnetwork.tv/poster/7/5/753546_5m.jpg","id":"753546","length":"16","title":"Ukrainie\u010di\u0173 ataka prie\u0161 Rusijos tank\u0105 - suveikia aktyviniai \u0161arvai"},{"mid":"445093","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445093_2m.jpg","id":"445093","length":"218","title":"Left of Centre - A Julia Set Fractal Zoom"},{"mid":"445085","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445085_6m.jpg","id":"445085","length":"252","title":"Perseverance Landing Every Angle 4k (Mars 2020)"},{"mid":"445084","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445084_2m.jpg","id":"445084","length":"134","title":"Insight Astronomy Photographer of the Year - shortlist selected"},{"mid":"445083","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445083_5m.jpg","id":"445083","length":"287","title":"NASA ScienceCasts: New Science from Jupiter"},{"mid":"445082","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445082_2m.jpg","id":"445082","length":"329","title":"The Electromagnetic Spectrum: looking through galactic space clouds"},{"mid":"445081","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445081_4m.jpg","id":"445081","length":"272","title":"NASA ScienceCasts: Observing Lightning from the International Space Station"},{"mid":"445079","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445079_1m.jpg","id":"445079","length":"244","title":"NASA ScienceCasts: On the Cusp of Understanding"},{"mid":"445077","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445077_4m.jpg","id":"445077","length":"78","title":"Planetary Defense By the Numbers: May 2021"},{"mid":"445076","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445076_6m.jpg","id":"445076","length":"246","title":"NASA ScienceCasts: The Space We Travel Through"},{"mid":"445075","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445075_6m.jpg","id":"445075","length":"379","title":"Billionaires in Space: How Musk, Bezos, and Branson Could Save Humanity"},{"mid":"445064","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445064_3m.jpg","id":"445064","length":"97","title":"Rocket Launch as Seen from the Space Station"},{"mid":"445063","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/445063_1m.jpg","id":"445063","length":"258","title":"ScienceCasts: A Display of Lights Above the Storm"},{"mid":"444125","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/444125_1m.jpg","id":"444125","length":"260","title":"Realme 7 5G review, Realme UI testing"},{"mid":"444124","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/444124_4m.jpg","id":"444124","length":"605","title":"Realme 7 5G review, Video samples"},{"mid":"444122","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/444122_6m.jpg","id":"444122","length":"253","title":"NEATSVOR X600 Pro - monster 6000Pa vacuum suction. Review, testing"},{"mid":"444121","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/444121_3m.jpg","id":"444121","length":"195","title":"Poco X3 Pro review, camera sample"},{"mid":"444107","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/444107_4m.jpg","id":"444107","length":"391","title":"Poco X3 Pro game, MIUI testing"},{"mid":"444106","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/444106_3m.jpg","id":"444106","length":"240","title":"Xiaomi Youpin Nextool 6 in 1 Flashlight, testing, review"},{"mid":"444104","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/444104_1m.jpg","id":"444104","length":"290","title":"Oukitel WP10 5G review, video samples"},{"mid":"444102","poster_url":"https://cdnt.onnetwork.tv/poster/4/4/444102_2m.jpg","id":"444102","length":"134","title":"Xiaomi Jimmy JV65 Plus review"},{"mid":"220975","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/220975_1m.jpg","id":"220975","length":"10","title":"Xiaomi Mijia automatic Induction Foaming"},{"mid":"208667","poster_url":"https://cdnt.onnetwork.tv/poster/2/0/208667_5m.jpg","id":"208667","length":"118","title":"Kospet Prime 4G ap\u017evalga"},{"mid":"176867","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/176867_2m.jpg","id":"176867","length":"132","title":"Tronsmart Element Force kolon\u0117l\u0117s ap\u017evalga"},{"mid":"152074","poster_url":"https://cdnt.onnetwork.tv/poster/1/5/152074_1m.jpg","id":"152074","length":"181","title":"BlackVue DR900S-1CH vaizdo \u012fra\u0161o pavyzdys (naktis)"}],"frid":1826767,"tpb":56.25,"addcss":"","firstmidvideo":"MTgyNjc2NywxNng5LDMsMywyMDQ3LDUzNTcsMSwwLDIsMywwLDAsMiwwLDQsMSwwLDAsMiwwLDAsMCwwLDAsMCwzLDAsLTE7LTE7MjA7MTIwO0JSOzIwOzEyMDsxMjA7NTYsMCw2MCwwLDAsMCwwOzA7MDswOzA7MDswLDA=","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":2047}} ; 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 ); } })(642,"","");