(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 ) + "1610" ; var uid="id"+Date.now() * Math.floor( 1 + Math.random() * 100 ) + "1610" ; 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:200px;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden;padding-bottom:0%; }' + // ' div.widgetcontainerexs.wid1610>div{ padding-bottom:0%; height:200px; }' + ' 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":1610,"devicetype":"desktop","playlistitems":[{"mid":"1826414","poster_url":"https://cdnt.onnetwork.tv/poster/1/8/1826414_5m.jpg","id":"1826414","length":"2000","title":"2025 Audi A5 Avant 2.0 TDI quattro: Naftov\u00e1 klasika v objemovke"},{"mid":"1824579","poster_url":"https://cdnt.onnetwork.tv/poster/1/8/1824579_3m.jpg","id":"1824579","length":"2431","title":"Dacia Duster 1.2 TCe 4x4: \u00daplne in\u00e1 liga alebo len prirodzen\u00e1 evol\u00facia?"},{"mid":"1824464","poster_url":"https://cdnt.onnetwork.tv/poster/1/8/1824464_5m.jpg","id":"1824464","length":"1810","title":"Renault Rafale E-TECH 200: Pekn\u00e9 auto so slu\u0161n\u00fdm podvozkom, ale nevhodn\u00fdm motorom"},{"mid":"1824411","poster_url":"https://cdnt.onnetwork.tv/poster/1/8/1824411_6m.jpg","id":"1824411","length":"895","title":"\u0160koda Enyaq Facelift 2025: Nov\u00fd dizajn vylep\u0161il aerodynamiku, ale technika ostala bez zmeny"},{"mid":"1824379","poster_url":"https://cdnt.onnetwork.tv/poster/1/8/1824379_5m.jpg","id":"1824379","length":"1103","title":"VW Multivan T7 Bulli: Najlacnej\u0161\u00ed Multivan ak\u00fd som mal v ruk\u00e1ch so z\u00e1kladn\u00fdm podvozkom"},{"mid":"1816848","poster_url":"https://cdnt.onnetwork.tv/poster/1/8/1816848_1m.jpg","id":"1816848","length":"2393","title":"Opel Frontera Hybrid/Electric: Nemeck\u00e1 Dacia Duster made in Slovakia "},{"mid":"1816776","poster_url":"https://cdnt.onnetwork.tv/poster/1/8/1816776_2m.jpg","id":"1816776","length":"2015","title":"Nov\u00e9 MG ZS Hybrid+/Prv\u00fd dom\u00e1ci test"},{"mid":"1799380","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1799380_3m.jpg","id":"1799380","length":"1556","title":"\u0160koda Superb Liftback 2.0 TDI 4WD: Dnes u\u017e ve\u013emi vz\u00e1cna kombin\u00e1cia "},{"mid":"1799103","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1799103_4m.jpg","id":"1799103","length":"1814","title":"Jeep Grand Cherokee 2.0T PHEV: Americk\u00e1 ikona na eur\u00f3pskych brehoch "},{"mid":"1779089","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1779089_3m.jpg","id":"1779089","length":"2300","title":"Hyundai Santa Fe PHEV vs \u0160koda Kodiaq iV"},{"mid":"1779071","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1779071_4m.jpg","id":"1779071","length":"1620","title":"Toyota Camry 2.5 Hybrid"},{"mid":"1779044","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1779044_4m.jpg","id":"1779044","length":"1799","title":"\u0160koda Elroq 50 - prv\u00e1 jazda so z\u00e1kladnou verziou "},{"mid":"1769236","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1769236_6m.jpg","id":"1769236","length":"2204","title":"Toyota Land Cruiser 250: Marock\u00e9 dobrodru\u017estvo "},{"mid":"1766316","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1766316_1m.jpg","id":"1766316","length":"2032","title":"Ford ExplorerAWD 250 kW (79 kWh): Sol\u00eddne postaven\u00fd elektromobil"},{"mid":"1766234","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1766234_3m.jpg","id":"1766234","length":"1131","title":"Alfa Romeo Giulia 2.0 Turbo Q4 2024: La benzina dell'emozione "},{"mid":"1760675","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1760675_1m.jpg","id":"1760675","length":"1193","title":"Toyota GR Yaris AT 2024: Najlep\u0161ie druh\u00e9 auto do rodiny, alebo \u201cako\u017ee\u201d pre man\u017eelku "},{"mid":"1760683","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1760683_3m.jpg","id":"1760683","length":"1700","title":"\u0160koda Octavia RS 2.0 TSI facelift: \u201eEresa\u201c po moderniz\u00e1cii a v top forme (VIDEOTEST)"},{"mid":"1760699","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1760699_4m.jpg","id":"1760699","length":"1706","title":"KIA EV3 81,4 kWh: Prv\u00e9 jazdn\u00e9 dojmy s rekord\u00e9rom v dojazde (VIDEO)"},{"mid":"1732035","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1732035_1m.jpg","id":"1732035","length":"1579","title":"Nov\u00e9 MG HS 1.5 TGI: Poriadny kus auta za f\u00e9rov\u00fa cenu"},{"mid":"1731840","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1731840_3m.jpg","id":"1731840","length":"1418","title":"Nissan Qashqai e-Power 2024 facelift: V\u00fdrazne modernizovan\u00fd a lacnej\u0161\u00ed"},{"mid":"1722939","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1722939_1m.jpg","id":"1722939","length":"1709","title":"Renault 5 E-TECH Prv\u00e9 dojmy z jazdy"},{"mid":"1715982","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1715982_6m.jpg","id":"1715982","length":"1577","title":"BMW M5 G90: Hmotnos\u0165 je paradoxne men\u0161\u00ed probl\u00e9m ako sa zdalo"},{"mid":"1714268","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1714268_3m.jpg","id":"1714268","length":"1499","title":"VW ID.7 Tourer test"},{"mid":"1707904","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1707904_6m.jpg","id":"1707904","length":"1027","title":"Cupra Terramar VZ 2.0 TSI: Defin\u00edcia \u0161of\u00e9rskeho SUV!"},{"mid":"1707595","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1707595_2m.jpg","id":"1707595","length":"1043","title":"Jeden z 99! Elektromobil do ter\u00e9nu Audi Q8 e-tron DAKAR EDITION"},{"mid":"1707214","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1707214_1m.jpg","id":"1707214","length":"966","title":"Nov\u00fd Mitsubishi Outlander s vy\u0161\u0161\u00edm v\u00fdkonom a v\u00e4\u010d\u0161\u00edm a kvalitnej\u0161\u00edm interi\u00e9rom u\u017e v novembri!"},{"mid":"1694671","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1694671_5m.jpg","id":"1694671","length":"917","title":"Nov\u00e1 \u0160koda Elroq 2024: Najlacnej\u0161ia elektrick\u00e1 \u0160koda u\u017e od 33 000 eur"},{"mid":"1694521","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1694521_1m.jpg","id":"1694521","length":"1888","title":"Toyota GR Yaris Evo 2024: Takto sa rob\u00ed evol\u00facia u\u017e skvel\u00e9ho auta"},{"mid":"1693653","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1693653_6m.jpg","id":"1693653","length":"0","title":"S Audi SQ6 e-tron do Chorv\u00e1tska na jednu z najkraj\u0161\u00edch ciest v Eur\u00f3pe"},{"mid":"1681036","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1681036_5m.jpg","id":"1681036","length":"911","title":"VW_Caravelle_Staticka_Premiera_2024"},{"mid":"1675734","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1675734_2m.jpg","id":"1675734","length":"1584","title":"\u0160of\u00e9ruje lep\u0161ie umel\u00e1 inteligencia alebo profi jazdci"},{"mid":"1675730","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1675730_5m.jpg","id":"1675730","length":"1161","title":"Volvo_XC90_EX90_Studio_2024"},{"mid":"1675732","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1675732_3m.jpg","id":"1675732","length":"796","title":"Nov\u00e1 Cupra Terramar na\u017eivo Divok\u00e9 kompaktn\u00e9 SUV v \u00fazkej spolupr\u00e1ci s Audi"},{"mid":"1620257","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1620257_4m.jpg","id":"1620257","length":"950","title":"Seat Tarraco 2.0 TSI 245 4Drive 2024: Definit\u00edvna rozl\u00fa\u010dka s Tarracom"},{"mid":"1620251","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1620251_5m.jpg","id":"1620251","length":"1781","title":"VW T-Cross 1.5 TSI R-Line facelift : Jedno z naj prekvapen\u00ed roka 2024"},{"mid":"1618755","poster_url":"https://cdnt.onnetwork.tv/poster/1/6/1618755_3m.jpg","id":"1618755","length":"1420","title":"MG4 XPower: V\u00fdkon 320 kW/435 kon\u00ed ako lep\u0161\u00ed \u0161tandard pre rodinn\u00fa \u0161tvorkolku"}],"frid":1826414,"tpb":56.25,"addcss":"","firstmidvideo":"MTgyNjQxNCwxNng5LDQsMTAsNDIxNSwxNjE4MiwxLDAsMiwyMCwwLDAsNSwwLDQsMiwwLDAsMSwwLDAsMCwwLDAsMCwzLDEsLTE7LTE7MjA7MjA7QlI7MjA7MjA7MjA7NTYsMCwxMCwwLDAsMCwwOzA7MDswOzA7MDswLDA=","defsd":{"ttextlines":"0","pso":"1","plheight":"200","plback":"rgba(241, 231, 192, 1)","nso":"1","navwidth":"30","navheight":"20","navimleft":"1","navimright":"17","navimtop":"0","navimbottom":"0","navback":"rgba(241, 231, 192, 1)","navcolor":"rgb(0, 0, 0)","navbackhv":"rgba(241, 231, 192, 1)","navcolorhv":"rgb(0, 0, 0)","iso":"1","iwidth":"160","iback":"rgba(241, 231, 192, 1)","ibackhv":"rgba(241, 231, 192, 1)","ibackpl":"rgba(241, 231, 192, 1)","pmleft":"0","pmright":"20","pmtop":"20","pmbottom":"10","tmleft":"0","tmright":"20","tmtop":"3","tmbottom":"11","tfontsize":"13","tcolor":"rgb(153, 153, 153)","tcolorhv":"rgb(0, 0, 0)","tcolorpl":"rgb(0, 0, 0)","dfontsize":"9","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":"18","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":4215}} ; 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 ); } })(1610,"","");