(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=123 ; var uid="id"+iid; var playerLoaded = false ; var reelToStart = 0 ; var wConfig = {"playlistitems":[{"mid":"2314623","id":"2314623","length":"63","title":"Koniec taniego tankowania? Jak d\u0142ugo rz\u0105d utrzyma obni\u017cony VAT i akcyz\u0119?","adddatesec":"1775122285","poster_url":"https://cdnt.onnetwork.tv/poster/2/3/2314623_1.jpg","pubcatdesc":"Politics","mposter_url":""},{"mid":"2314548","id":"2314548","length":"40","title":"Dwa zagini\u0119cia i JEDEN SPRAWCA? Prawda o Jacku S. w ko\u0144cu wysz\u0142a na jaw","adddatesec":"1775118443","poster_url":"https://cdnt.onnetwork.tv/poster/2/3/2314548_5.jpg","pubcatdesc":"Unset","mposter_url":""},{"mid":"2313756","id":"2313756","length":"15","title":"100 TWARZY CEZAREGO PAZURY W RADIU ZET! S\u0142uchaj, zgaduj i wygrywaj sztabki z\u0142ota! ","adddatesec":"1775045717","poster_url":"https://cdnt.onnetwork.tv/poster/2/3/2313756_5.jpg","pubcatdesc":"Unset","mposter_url":""},{"mid":"2313705","id":"2313705","length":"68","title":"Mobilizacja w policji? \"30% nie stawi si\u0119 do jednostek\"","adddatesec":"1775043206","poster_url":"https://cdnt.onnetwork.tv/poster/2/3/2313705_1.jpg","pubcatdesc":"Unset","mposter_url":""},{"mid":"2313514","id":"2313514","length":"86","title":"Trump uderza w NATO. Przydacz: \u201eZabrak\u0142o minimalnego szacunku\u201d","adddatesec":"1775036932","poster_url":"https://cdnt.onnetwork.tv/poster/2/3/2313514_1.jpg","pubcatdesc":"Politics","mposter_url":""},{"mid":"2312601","id":"2312601","length":"42","title":"Porwanie dla okupu w trakcie powodzi na Dolnym \u015al\u0105sku? Co ods\u0142ania chaos?","adddatesec":"1774957959","poster_url":"https://cdnt.onnetwork.tv/poster/2/3/2312601_3.jpg","pubcatdesc":"Unset","mposter_url":""},{"mid":"2312393","id":"2312393","length":"75","title":"Nadchodzi NOWY PODATEK? Koniec wysokich mar\u017c paliwowych?","adddatesec":"1774949514","poster_url":"https://cdnt.onnetwork.tv/poster/2/3/2312393_1.jpg","pubcatdesc":"Politics","mposter_url":""},{"mid":"2311618","id":"2311618","length":"27","title":"Tusk, Niemcy i Koalicja 13 grudnia to MANTRA Mariusza B\u0142aszczaka? ","adddatesec":"1774876387","poster_url":"https://cdnt.onnetwork.tv/poster/2/3/2311618_1.jpg","pubcatdesc":"Politics","mposter_url":""},{"mid":"2311410","id":"2311410","length":"60","title":"Mamy policjant\u00f3w na s\u0142u\u017cbie czy \"police worker\u00f3w\"? Co si\u0119 zmieni\u0142o?","adddatesec":"1774869999","poster_url":"https://cdnt.onnetwork.tv/poster/2/3/2311410_2.jpg","pubcatdesc":"Unset","mposter_url":""}],"frid":2314623,"widgetId":2187,"devicetype":"desktop","isIos":0,"firstmidvideo":"MjMxNDYyMyw5eDE2LDAsNTAsNTMzMCwxODQxOCwxLDAsMSw1MCwwLDAsMCwwLDEsMSwwLDAsMiwwLDAsMCwwLDAsMCwwLDAsMDswOy0xOy0xO1RMOzA7MDswOzU2LDAsMCwwLDAsMCwwOzA7MDswOzA7MDswLDA=","defsd":{"playlist":"5330","reelType":"0","reelRows":"2","reelColumns":"2","reelHeight":"300px","reelClosureButton":"159","reelListBackgroundColor":"rgba(255, 255, 255, 0)","reelListBackgroundImage":"","reelBackgroundColor":"rgba(0, 0, 0, 1)","reelBackgroundImage":"","reelBackgroundImageCustomCss":"","reelPosition":"0","reelMax":"10","reelMargin":"","reelBorder":"","reelBorderRad":"","reelMarginList":"4px","reelPadding":"","reelBorderList":"","reelBorderRadList":"5px","reelTitlePosition":"1","reelTitleCustomCss":"display: flex; justify-content:center; align-items:center; width: 80%; ","reelPaddingList":"","reelTitleColor":"rgba(0, 0, 0, 0)","reelTitleFont":"Averta Bold","reelTitleFontSize":"14","reelTitleHeight":"20%","reelTimerPosition":"3","reelTimerCustomCss":"display: none;","reelTimerColor":"rgba(255,80,0,1)","reelTimerBackground":"rgba(0,0,0,1)","reelTimerFont":"","reelTimerFontSize":"10","reelTimerMargin":"4px","reelTimerPadding":"1px 4px","reelTitleMargin":"4px 0","reelTitlePadding":"6%","reelTitleBackground":"rgba(255, 255, 255, 0)","reelBehaviourMPosterUse":"0","reelBehaviourMPosterVisibilityThreshold":"80","reelBehaviourChangeThreshold":"50","reelBehaviourMPosterMode":"1","reelBehaviourWidgetScrollMode":"0","reelBehaviourWidgetIdleScrollBy":"100","reelBehaviourWidgetIdleInterval":"2000","reelTouchScrollAxis":"N","reelBehaviourShowFirstReelMode":"0","reelNoNextPosterSwipe":"1","ads_emission_selectr":"1","widgets_emission_preroll_select_first_ad":"1","widgets_emission_preroll_list":"","widgets_emission_preroll_select_another_ad":"1","widgets_emission_midroll_select_first_ad":"","widgets_emission_midroll_list":"","widgets_emission_midroll_select_another_ad":"","widgets_emission_periodic_first_ad_number":"afterSeconds","widgets_emission_periodic_first_ad_seconds":"15","widgets_emission_periodic_next_ads_number_interval":"afterSeconds","widgets_emission_periodic_next_ads_seconds_interval":"60","reelListPlayButtonURL":"","reelListPlayButtonCustomCss":"","reelListPlayButtonSvgShow":"0","reelListPlayButtonSvgWidth":"30","reelListPlayButtonSvgTop":"50","reelListPlayButtonSvgLeft":"50","reelListPlayButtonSvgFill":"rgba(255,255,255,0)","reelListPlayButtonSvgWcpCircleStroke":"rgba(255,255,255,0.8)","reelListPlayButtonSvgWcpTriangleFill":"rgba(255,255,255,0.8)","reelBehaviourInfiniteMPoster":"0","reelBehaviourSwipeupRedirect":"0","reelBehaviourSwipeupRedirectNewtab":"0","reelBehaviourSwipeupRedirectThreshold":"30","reelMovieAddDateShow":"1","reelMovieAddDatePosition":"0","reelMovieAddDateMargin":"8px 4px","reelMovieAddDatePadding":"","reelMovieAddDateColor":"rgba(255, 255, 255, 1)","reelMovieAddDateBackground":"","reelMovieAddDateFont":"\"Roboto\", sans-serif","reelMovieAddDateFontSize":"10","reelMovieAddDateCustomCss":"display: flex; flex-direction: row; align-items: flex-start; padding: 10px 0 0 10px !important; gap: 9.67px; width: 220px !important; height: 58.02px !important; background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); transform: translate(-5px, -7px);","reelUseNewDesktop":"1","reelDesktopStylesAdditionsCss":".totalcontainerexs.wid2187.desktop .playercontainerexswrapper {\r\n background: rgba(0, 0, 0, 0.8);\r\n align-items: center;\r\n justify-content: center;\r\n flex-wrap: wrap;\r\n width: 100%;\r\n }\r\n\r\n .totalcontainerexs.wid2187.desktop::before {\r\n content: \"\";\r\n width: 8%;\r\n display: block;\r\n height: 100%;\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n pointer-events: none;\r\n z-index: 1;\r\n }\r\n\r\n .totalcontainerexs.wid2187.desktop::after {\r\n content: \"\";\r\n width: 8%;\r\n display: block;\r\n height: 100%;\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n pointer-events: none;\r\n z-index: 1;\r\n }\r\n\r\n .totalcontainerexs.wid2187.desktop .playercontainerexs {\r\n height: 85%;\r\n }\r\n .totalcontainerexs.wid2187.desktop .playercontainerexsafterbottom {\r\n position: absolute;\r\n left: 95%;\r\n top: 80%;\r\n height: auto;\r\n display: flex;\r\n justify-content: flex-end;\r\n }\r\n .totalcontainerexs.wid2187.desktop .playercontainerexsbeforetop {\r\n position: absolute;\r\n left: 97%;\r\n top: 2%;\r\n height: auto;\r\n display: flex;\r\n justify-content: flex-end;\r\n }\r\n .totalcontainerexs.wid2187.desktop .playercontainerexsbeforeleft,\r\n .totalcontainerexs.wid2187.desktop .playercontainerexsafterright {\r\n margin: 0 25px;\r\n }\r\n .nreel,\r\n .preel,\r\n .closereel {\r\n user-select: none;\r\n cursor: pointer;\r\n width: max-content;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n }\r\n\r\n .onnrscript-wrapper {\r\n width: 90%;\r\n max-width: 1240px;\r\n height: auto;\r\n margin: 0 auto;\r\n }\r\n\r\n @media screen and (max-width: 1024px) {\r\n .onnrscript-wrapper {\r\n width: 100%;\r\n }\r\n }","reelDesktopStylesAdditionsJs":"const beforetop = document.querySelector(\".playercontainerexsbeforetop\");\r\n const afterbottom = document.querySelector(\r\n \".playercontainerexsafterbottom\"\r\n );\r\n const afeterright = document.querySelector(\r\n \".playercontainerexsafterright\"\r\n );\r\n const beforeleft = document.querySelector(\r\n \".playercontainerexsbeforeleft\"\r\n );\r\n\r\n if (afeterright) {\r\n const nreel = document.createElement(\"div\");\r\n nreel.className = \"nreel\";\r\n nreel.innerHTML =\r\n '';\r\n\r\n nreel.addEventListener(\"click\", () => {\r\n var comTxt =\r\n \"onntv://\" +\r\n JSON.stringify({ comm: \"nextReel\", iid: afterbottom.dataset.iid });\r\n window.postMessage(comTxt, \"*\");\r\n });\r\n\r\n afeterright.appendChild(nreel);\r\n }\r\n if (beforeleft) {\r\n const preel = document.createElement(\"div\");\r\n preel.className = \"preel\";\r\n preel.innerHTML =\r\n '';\r\n\r\n preel.addEventListener(\"click\", () => {\r\n var comTxt =\r\n \"onntv://\" +\r\n JSON.stringify({ comm: \"prevReel\", iid: beforetop.dataset.iid });\r\n window.postMessage(comTxt, \"*\");\r\n });\r\n\r\n beforeleft.appendChild(preel);\r\n }\r\n\r\n if (beforetop) {\r\n const closereel = document.createElement(\"div\");\r\n closereel.className = \"closereel\";\r\n closereel.innerHTML =\r\n '';\r\n\r\n closereel.addEventListener(\"click\", () => {\r\n var comTxt =\r\n \"onntv://\" +\r\n JSON.stringify({\r\n comm: \"closeShorts\",\r\n iid: afterbottom.dataset.iid,\r\n });\r\n window.postMessage(comTxt, \"*\");\r\n });\r\n\r\n beforetop.appendChild(closereel);\r\n }\r\n window.addEventListener(\"message\", (e) => {\r\n if (!e.data.indexOf || e.data.indexOf(\"onntv://\") != 0) {\r\n return;\r\n }\r\n var data = JSON.parse(e.data.slice(8));\r\n });","reelBehaviourSwipeDesktop":"0"},"classToAdd":"carousel","addcss":"","isProduction":true,"debugReelsWidget":false} ; var isMobile = 0; var useNewDesktop = 1; var desktopStylingCss = `.totalcontainerexs.wid2187.desktop .playercontainerexswrapper { background: rgba(0, 0, 0, 0.8); align-items: center; justify-content: center; flex-wrap: wrap; width: 100%; } .totalcontainerexs.wid2187.desktop::before { content: ""; width: 8%; display: block; height: 100%; position: absolute; right: 0; top: 0; pointer-events: none; z-index: 1; } .totalcontainerexs.wid2187.desktop::after { content: ""; width: 8%; display: block; height: 100%; position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; } .totalcontainerexs.wid2187.desktop .playercontainerexs { height: 85%; } .totalcontainerexs.wid2187.desktop .playercontainerexsafterbottom { position: absolute; left: 95%; top: 80%; height: auto; display: flex; justify-content: flex-end; } .totalcontainerexs.wid2187.desktop .playercontainerexsbeforetop { position: absolute; left: 97%; top: 2%; height: auto; display: flex; justify-content: flex-end; } .totalcontainerexs.wid2187.desktop .playercontainerexsbeforeleft, .totalcontainerexs.wid2187.desktop .playercontainerexsafterright { margin: 0 25px; } .nreel, .preel, .closereel { user-select: none; cursor: pointer; width: max-content; display: flex; justify-content: center; align-items: center; } .onnrscript-wrapper { width: 90%; max-width: 1240px; height: auto; margin: 0 auto; } @media screen and (max-width: 1024px) { .onnrscript-wrapper { width: 100%; } }`; var desktopStylingJs = `const beforetop = document.querySelector(".playercontainerexsbeforetop"); const afterbottom = document.querySelector( ".playercontainerexsafterbottom" ); const afeterright = document.querySelector( ".playercontainerexsafterright" ); const beforeleft = document.querySelector( ".playercontainerexsbeforeleft" ); if (afeterright) { const nreel = document.createElement("div"); nreel.className = "nreel"; nreel.innerHTML = ''; nreel.addEventListener("click", () => { var comTxt = "onntv://" + JSON.stringify({ comm: "nextReel", iid: afterbottom.dataset.iid }); window.postMessage(comTxt, "*"); }); afeterright.appendChild(nreel); } if (beforeleft) { const preel = document.createElement("div"); preel.className = "preel"; preel.innerHTML = ''; preel.addEventListener("click", () => { var comTxt = "onntv://" + JSON.stringify({ comm: "prevReel", iid: beforetop.dataset.iid }); window.postMessage(comTxt, "*"); }); beforeleft.appendChild(preel); } if (beforetop) { const closereel = document.createElement("div"); closereel.className = "closereel"; closereel.innerHTML = ''; closereel.addEventListener("click", () => { var comTxt = "onntv://" + JSON.stringify({ comm: "closeShorts", iid: afterbottom.dataset.iid, }); window.postMessage(comTxt, "*"); }); beforetop.appendChild(closereel); } window.addEventListener("message", (e) => { if (!e.data.indexOf || e.data.indexOf("onntv://") != 0) { return; } var data = JSON.parse(e.data.slice(8)); });`; var widgetClass = 'wid' + widget ; if (!useNewDesktop) { var nstylet = (isMobile ? 'body.ONNovhByReel { overflow: hidden !important; position: fixed !important;}' : '') + ' div.totalcontainerexs.'+widgetClass+'{ position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;margin:0px;height:auto;box-sizing:border-box;align-items:stretch; background-color:transparent;}' + ' div.playercontainerexs.'+widgetClass+'{ width:100%;height:100%;position:fixed;top:0;left:0;z-index:2147483647;display:none; }' + ' #playerPreviewContainer div.playercontainerexs.'+widgetClass+', #totalcontainerdesktop'+uid+' div.playercontainerexs.'+widgetClass+'{ position:absolute;top:0;left:0;z-index:2147483647;display:none; }' + ' #totalcontainerdesktop'+uid+' { height: 100%; }' + ' div.widgetcontainerexs.'+widgetClass+'{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs.'+widgetClass+'>div{ position:relative;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden;}' + ' div.widgetcontainerexs.'+widgetClass+'>div>div{ position:absolute;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden; }' + ' .playercontainerexs.'+widgetClass+' > div > div, .playercontainerexs.'+widgetClass+' > div > div > iframe { box-sizing: border-box !important; }' + ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:100% !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-start; align-items: stretch; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: center; align-items: stretch; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-end; align-items: stretch; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' ; var nefrag = '
' + '' ; } else { var nstylet = (isMobile ? 'body.ONNovhByReel { overflow: hidden !important; position: fixed !important;}' : '') + ' div.totalcontainerexs.'+widgetClass+'{ position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;margin:0px;height:auto;box-sizing:border-box;align-items:stretch; background-color:transparent;}' + ' #playerPreviewContainer div.playercontainerexs.'+widgetClass+'{ position:absolute;top:0;left:0;z-index:2147483647;display:none; }' + ' div.widgetcontainerexs.'+widgetClass+'{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs.'+widgetClass+'>div{ position:relative;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden;}' + ' div.widgetcontainerexs.'+widgetClass+'>div>div{ position:absolute;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden; }' + ' .playercontainerexs.'+widgetClass+' > div > div, .playercontainerexs.'+widgetClass+' > div > div > iframe { box-sizing: border-box !important; }' + ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:100% !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-start; align-items: stretch; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: center; align-items: stretch; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-end; align-items: stretch; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' ; var nefrag = '' ; if (isMobile) { nstylet += ' div.playercontainerexs.'+widgetClass+'{ width:100%;height:100%;position:fixed;top:0;left:0;z-index:2147483647;display:none; }'; nefrag = '' + nefrag; } else { nstylet += ' div.playercontainerexswrapper{ width:auto;height:100%;position:fixed;top:0;left:0;z-index:2147483646;display:none;}' + ' div.playercontainerexs.'+widgetClass+'{ z-index:2147483647;display:none; aspect-ratio: 9/16; }'; nefrag = '