........attendi qualche secondo.

#adessonews solo agevolazioni personali e aziendali.

per le ricerche su Google, inserisci prima delle parole di ricerca:

#adessonews

Siamo operativi in tutta Italia

 
YouTube player

Ponte Morandi, Cartabia a familiari vittime: dovere garantire processo #adessonews

[]
Ponte Morandi, Cartabia a familiari vittime: dovere garantire processo article > header’); if (!videoWrapper) { return false; } const time = videoWrapper.querySelector(‘time’); const title = videoWrapper.querySelector(‘h1’); const summary = videoWrapper.querySelector(‘h2’); time.innerHTML = window.items[index].date; title.innerHTML = window.items[index].launch_title; summary.innerHTML = window.items[index].launch_text; } if (typeof window.items == ‘undefined’) { var getJSON = function(url, callback) { var xhr = new XMLHttpRequest(); xhr.open(‘GET’, url, true); xhr.responseType = ‘json’; xhr.onload = function() { var status = xhr.status; if (status === 200) { callback(null, xhr.response); } else { callback(status, xhr.response); } }; xhr.send(); }; } function eventInitPlayerNew () { !player.initializedPlayer && rtiPlayerEmbedInit(‘#player_live, .d__iframe iframe’, (message, iframe) => { player.initializedPlayer = true; setEventPlayer(message, iframe); }); } /* * @param event {*} * @param iframe {HTMLElement} */ function setEventPlayer (event, iframe) { // filter player embed messages (with sentinel equals to player-embed) // media-info-change if (event.data.type === ‘media-info-changed’) { //console.debug(‘EventListener playing: ‘ + ((event.data.mediaInfo && event.data.mediaInfo.title) ? event.data.mediaInfo.title : (event.data.mediaInfo.metadata ? event.data.mediaInfo.metadata.title : ”)) + ‘ success’); console.log(‘EventListener playing: ‘, event.data.payload.mediaInfo.metadata); if(event.data.payload.mediaInfo && event.data.payload.mediaInfo.metadata && event.data.payload.mediaInfo.metadata.identifier){ if(_articlevideos && _articlevideos.has(event.data.payload.mediaInfo.metadata.identifier)){ setStatusPlayer($(‘#’+_articlevideos.get(event.data.payload.mediaInfo.metadata.identifier)), ‘play’); } } // status-changed } else if (event.data.type === ‘player-status-change’) { console.log(‘EventListener player ‘+ event.data.payload.mediaInfo + ‘ ‘ + event.data.payload.status + ‘ info’); if(event.data.payload.status === ‘playing’){ enableCloseFloating = true; $(‘.video-floating-container .close-video-button’).css(‘visibility’,’visible’); } // next-request } else if (event.data.type === ‘next-request-retrieve’) { console.debug(‘EventListener next ‘, window.items); window.indexVideos = items.length > window.indexVideos ? window.indexVideos + 1 : 0; items[window.indexVideos] && event.target.postMessage({ type: ‘next-request-retrieve’, payload: { playRequest: { programGuid: items[window.indexVideos].guid, type: ‘VOD’ } } }); // request-should-change } else if (event.data.type === ‘request-will-change’) { try { setInfoVideo(); } catch (e) { console.log(“error”, e); } } else if (event.data.type === ‘user-action’) { console.debug(‘EventListener user-action: ‘ + event.data.userAction); if (event.data.userAction === ‘share’) { var u = (typeof event.data.userActionParams[1] != “undefined” && event.data.userActionParams[1].media.videoPageUrl != null) ? ‘https:’ + event.data.userActionParams[1].media.videoPageUrl : document.location.href; var t = (typeof event.data.userActionParams[1] != “undefined” && event.data.userActionParams[1].media.title != null) ? event.data.userActionParams[1].media.title : document.title; var a = $(‘condividi’); var sharebox = make_sharebox(a); create_sharebox(sharebox, event); event.target.postMessage({ type: “emit”, payload: { actionName: “pause” } }); } } if (event.data.payload && !iframe.classList.contains(‘iframe_mediaset_home’)) { if (event.data.payload.status === ‘playing’) { $(“.close-video-button”).css({ display: ‘inline-block’ }); } if (event.data.payload.status === ‘loading’) { $(“.close-video-button”).css({ display: ‘none’ }); } } else if (event.data.payload) { $(“.close-video-button”).css({ ‘display’: ‘inline-block’, ‘visibility’: ‘visible’ }); } } function setInitNext() { var iframe = document.querySelector(‘.d__iframe iframe’); var url_iframe = iframe && iframe.src; if(!url_iframe) { eventInitPlayerNew(); return false; } var sectionCategory = body.dataset.categoryPath; sectionCategory = sectionCategory ? sectionCategory.replace(‘/’, ‘-‘) : body.dataset.sezione; var url = new URL(url_iframe); programGuid = url.searchParams.get(“programGuid”); // Gestire messaggi dei player, per esempio: getJSON(`https://api-bdsl.cloud.mediaset.net/ddg/v1/search/tgcom24/homepage/tgcom24_video-${sectionCategory}/?detailLevel=2`, function(err, data) { if (err === null) { var tmp_items = data.data.spaces[0].items; var date, day, month, year; console.log(tmp_items); tmp_items.forEach(function(e, i) { if(programGuid === null || programGuid.indexOf(e.launch.guid) { if (event.target.readyState === ‘interactive’ && !document.querySelector(‘body’).classList.contains(‘sezione’)) { setInitNext() } else if(event.target.readyState == ‘complete’) { eventInitPlayerNew(); } }); })() ]]]]]]]]>]]]]]]>]]]]>]]> FOTO24 VIDEO24 Logo Mediaset ComingSoon.it Donne logo mastergame Grazia People sportmediaset_negative sportmediaset_positive TGCOM24 meteo.it 14 agosto 2022 10:55

Commenti in orario notturno

Quanto inserito fra l’1.00 e le 8.00 verrà moderato a partire dalle ore 8.00

Regole per i commenti

I commenti in questa pagina vengono controllati
Ti invitiamo ad utilizzare un linguaggio rispettoso e non offensivo, anche per le critiche più aspre

In particolare, durante l’azione di monitoraggio, ci riserviamo il diritto di rimuovere i commenti che:
– Non siano pertinenti ai temi trattati nel sito web e nel programma TV
– Abbiano contenuti volgari, osceni o violenti
– Siano intimidatori o diffamanti verso persone, altri utenti, istituzioni e religioni
– Più in generale violino i diritti di terzi
– Promuovano attività illegali
– Promuovano prodotti o servizi commerciali

{{main.0.label}} {{#if bar_config.menu.menu_tgcom}}

-1 && (e.preventDefault(), user_logged ? (u_action = e.target.parentNode.classList.contains(“on”) ? “unreadlater” : “readlater”, rtilogin.retrieveToken(rtilogin.tokenType.normal, function(t, r) { try { updateReadLeater(r.token, e.target.parentElement) } catch (ex) { console.log(ex) } })) : rtilogin.showSSLogin()) }), rti_menu.addEventListener(“click”, function(e) { e.target.classList.contains(“sub_list”) && e.target.classList.contains(“active”) ? e.target.classList.remove(“active”) : e.target.classList.contains(“sub_list”) && (rti_menu.querySelector(“.sub_list.active”) && rti_menu.querySelector(“.sub_list.active”).classList.remove(“active”), e.target.classList.add(“active”)) }), Array.from(r).forEach(function(e) { e.addEventListener(“click”, function(e) { !e.currentTarget.parentElement.classList.contains(“active”) && rti_menu.querySelector(“.sub_list.active”) && rti_menu.querySelector(“.sub_list.active”).classList.remove(“active”), e.currentTarget.parentElement.classList.toggle(“active”) }) }), t && rti_menu.querySelector(“#menu_other”).addEventListener(“click”, function() { toggleClass(rti_menu.querySelector(“#menu_otherlist”), “active”) }), e && (rti_menu.querySelector(“#logout”).addEventListener(“click”, function() { rtilogin.logoutUser() }), rti_menu.querySelector(“#profile”).addEventListener(“click”, function() { rtilogin.showSSEditProfile() }), window.addEventListener(rtilogin.events.USER_DELETE_SUCCESSFUL, refreshMe), window.addEventListener(rtilogin.events.USER_LOGGED, handleUserLogged), window.addEventListener(rtilogin.events.USER_LOGIN_SUCCESSFUL, handleUserLogged), window.addEventListener(rtilogin.events.USER_LOGIN_SUCCESSFUL, refreshMe), window.addEventListener(rtilogin.events.USER_NOT_LOGGED, handleUserNotLogged), window.addEventListener(rtilogin.events.USER_LOGOUT_SUCCESSFUL, refreshMe)) } function rtimenuInitComplete() { var e = document.createEvent(“Event”); e.initEvent(“rtimenuInitComplete”, !0, !0), window.dispatchEvent(e), “function” == typeof callmeBack && callmeBack() } function handleUserNotLogged(e) { user_logged = !1, rti_menu.querySelector(“#user_name .label”).innerHTML = “LOGIN”, rti_menu.querySelector(“.toolBar:not(.logged) #user_name”).addEventListener(“click”, function() { rtilogin.showSSLogin() }, !1), callmeBack(), rtimenuInitComplete() } function handleUserLogged(e) { user_logged = !0, BigData.login.json_data = e.detail, rti_menu.querySelector(“#msg_reg”) && (rti_menu.querySelector(“#msg_reg”).style.display = “none”), (rti_bar_config.bar_config.menu.readlater || rti_bar_config.bar_config.menu.viewlater) && rtilogin.retrieveToken(rtilogin.tokenType.normal, function(e, t) { rti_bar_config.bar_config.menu.readlater && getBigData(t.token, BigData.readlater.url, “readlater”), rti_bar_config.bar_config.menu.viewlater && (getBigData(t.token, BigData.viewlater.url, “viewlater”), getBigData(t.token, BigData.follow.url, “follow”), getBigData(t.token, BigData.tocomplete.url, “tocomplete”)) }); var t = “”; e.detail && e.detail.loginIDs ? t = e.detail.loginIDs.username : e.detail && (t = e.detail.username), UID = e.detail.uid, rti_menu.querySelector(“#user_name .label”).innerHTML = t, rti_menu.querySelector(“.toolBar”).classList.add(“logged”), callmeBack(), rtimenuInitComplete() } function rti_drawBar(e) { let footer = e.footer.map(el => { el.url.indexOf(‘cookie’) != -1 ? el.className = ‘iubenda-cs-preferences-link’ : el.className = ”; return el; }); e.footer = footer; footer.className = ‘iubenda-cs-preferences-link’; void 0 !== rti_bar_config && (rti_bar_config.bar_config.site_video = video_dom, Handlebars.Utils.extend(e, rti_bar_config)); var t = document.body; if (!document.getElementById(“rti_menu”)) { var r = document.createElement(“div”); r.id = “rti_menu”, t.insertBefore(r, t.firstChild) } if (rti_bar_config.bar_config.footer && !document.getElementById(“rti_footer”)) { var n = document.createElement(“footer”); n.id = “rti_footer”, t.appendChild(n, t) } rti_bar_config.bar_config.menu.menu_login && e.url_js_login && async (js_rtilogin = e.url_js_login, function() { listen() }), e.url_js_popupestero && async (e.url_js_popupestero); var a = document.getElementById(“rti_bar”).innerHTML, o = Handlebars.compile(a); if (document.getElementById(“rti_menu”).innerHTML = o(e), rti_bar_config.bar_config.footer) { var i = document.getElementById(“rti_foot”).innerHTML, l = Handlebars.compile(i); document.getElementById(“rti_footer”).innerHTML = l(e) } rti_bar_config.bar_config.menu.menu_login || listen() } function get_rti_menu() { var e = new XMLHttpRequest; e.open(“GET”, “//assets” + ass_dom + “.mediaset.net/mediaset/res/js/rtimenu.sjson?callback=rti_drawBar”, !0), e.onload = function() { e.status >= 200 && e.status -1) ? “sportmediaset” : “tgcom24”; console.log(“project_ddg: “+ project_ddg); if (“/” != window.location.pathname) { if(typeof ridtemp !== ‘undefined’) { var ddg_id_href = ridtemp; } else if(t && t.closest(‘.g__v2’)) { var ddg_id_href = t.closest(‘.g__v2’).dataset.cid; }else { var idRegexp = /_(d+)-/gm, idUrl = window.location.pathname, matchId = idRegexp.exec(idUrl); if (matchId && 1 0 && typeof atype[0].dataset.note != ‘undefined’ ){ var ddg_id_href = atype[0].dataset.cid; } else if(atype.length > 0 && atype[0].dataset.type == ‘video’){ console.log(“DETAIL VIDEO”); var idsplit = atype[0].dataset.cid.split(‘:’); if (idsplit.length > 0 && typeof idsplit[2] != ‘undefined’){ var ddg_id_href = idsplit[2]; console.log(“VIDEOID: “+ ddg_id_href); } } } var suffixId = window.location.hostname.indexOf(“-dev”) > -1 ? “-dev” : “”; var ddg_type; switch (rtype) { case “articolo”: ddg_type = “article”; break; case “fotogallery”: ddg_type = “photogallery”; break case “infografica”: ddg_type = “infographic”; break; case “video”: ddg_type = “video”; break; default: ddg_type = rtype; } // var ddg_type = ( rtype.indexOf(“articolo”)!=-1 ? “article” : (typeof rtype != “undefined” && rtype != “undefined” ? ( rtype.indexOf(“fotogallery”)!=-1 || rtype.indexOf(“foto”)!=-1 ? “photogallery” : rtype ) : “article” )); //var ddg_env = (window.location.hostname.indexOf(“-dev”) > -1 || window.location.hostname.indexOf(“-stage”) > -1 ) ? “test/” : “”; var i = { e: o + “.” + u_action, p: { ddg_url: ddg_host + “/ddg/v1/search/” + project_ddg + “/” + ddg_type + “/” + (typeof ddg_id_href != “undefined” ? (ddg_id_href + suffixId) : (rid + (rid.indexOf(“-dev”) != -1 ? “” : suffixId))), ddg_id: (typeof ddg_id_href != “undefined” ? (ddg_id_href + suffixId) : (rid + (rid.indexOf(“-dev”) != -1 ? “” : suffixId))), token: e, ddg_project: project_ddg, ddg_content: ddg_type }, c: { a: { n: “readleater”, v: “2.0.0”, b: “2.0.0” }, d: { id: createUUID(), m: n[0] + “,” + n[1], n: n[0], o: navigator.platform, ov: navigator.appVersion }, loc: “ITA”, u: UID, lib: { n: r[0].replace(/^.*[\/]/, “”), v: r[1] } }, id: createUUID(), v: “2.0.0”, sentAt: formatLocalDate() }, l = JSON.stringify(i); console.log(“READLATER: UPDATE”, t, u_action, rtype, rid); var s = new XMLHttpRequest; s.open(“GET”, BigData_service + “/BigData/rest/eventp?callback=&json=” + l, !0), s.onload = function() { s.status >= 200 && s.status < 400 && s.response && (t && ("readlater" == u_action ? t.classList.add("on") : t.classList.remove("on")), setTimeout(function() { console.log("READLATER: Reload"), getBigData(e, BigData.readlater.url, "readlater") }, 3e3)) }, s.onerror = function(e) { console.log("READLATER: getReadLeater [" + e + "] KO") }, s.send() } function createUUID() { for (var e = [], t = 0; t = 0 ? "%2B" : "%2D", n = function(e) { var t = Math.abs(Math.floor(e)); return (t = 200 && n.status -1 ? "Sportmediaset" : "TgCom24" ), u = document.createElement("li"); if (typeof t == "undefined") { t = "articolo"; } if (e.ddg_url && typeof e.type == "undefined") { if (e.ddg_url.indexOf('photogallery') > 1) { t = ‘fotogallery’; } else if (e.ddg_url.indexOf(‘video’) > 1) { t = ‘video’; } else if (e.ddg_url.indexOf(‘podcast’) > 1) { t = ‘podcast’; } } if(window.location.hostname.indexOf(“-dev”) > -1 && i && i.indexOf(“-dev”) > -1){ i = i.replace(“-dev”,””); } u.setAttribute(“data-type”, t), u.setAttribute(“data-rid”, i), u.innerHTML = ‘' + l + '

‘ + l + “

” + d + ”, “articolo” === t || “ricetta” === t ? n += 1 : “fotogallery” === t ? a += 1 : “video” === t && (o += 1), r.appendChild(u.cloneNode(!0)); var m = document.querySelector(‘[data-type=”‘ + t + ‘”][data-rid=”‘ + i + ‘”] a.btn__rl, [data-type=”‘ + t + ‘”][data-cid=”‘ + i + ‘”] a.btn__rl’); m && addClass(m, “on”) }), rti_menu.querySelector(“#view-later”)) { updateCntRL(t, n, a, o), rti_menu.querySelector(“#c_all”).innerHTML = “”, rti_menu.querySelector(“#c_all”).appendChild(r); var i = document.querySelectorAll(“#view-later-box > ul li”), l = document.querySelectorAll(“.content li”); Array.from(i).forEach(function(e) { e.addEventListener(“click”, function(e) { e.preventDefault(), li_type_sel = e.target.id.substring(3), Array.from(i).forEach(function(e) { removeClass(e, “active”) }), addClass(rti_menu.querySelector(“#” + e.target.id).parentNode, “active”), Array.from(l).forEach(function(e) { “ricetta” === e.dataset.type && “articolo” === li_type_sel || e.dataset.type === li_type_sel || “all” === li_type_sel ? e.style.display = “table” : e.style.display = “none” }), rti_menu.querySelector(“#msg-empty”).style.display = 0 === t && “all” === li_type_sel || 0 === n && (“articolo” === li_type_sel || “ricetta” === li_type_sel) || 0 === a && “fotogallery” === li_type_sel || 0 === o && “video” === li_type_sel ? “table” : “none” }) }); var s = document.getElementsByClassName(“rl_remove”); Array.from(s).forEach(function(e) { e.addEventListener(“click”, function() { var e = this.parentNode; if (rtype = e.getAttribute(“data-type”), rid = e.getAttribute(“data-rid”), void 0 !== rtype && “” != rtype && void 0 !== rid && “” != rid) { u_action = “unreadlater”, project = “tgcom24″, rtilogin.retrieveToken(rtilogin.tokenType.normal, function(e, t) { try { updateReadLeater(t.token, e, rid); } catch (ex) { console.log(ex) } }); var r = document.querySelector(‘[data-type=”‘ + rtype + ‘”][data-rid=”‘ + rid + ‘”] a.btn__rl, [data-type=”‘ + rtype + ‘”][data-cid=”‘ + rid + ‘”] a.btn__rl’); r && removeClass(r, “on”) } t -= 1, “articolo” == rtype || “ricetta” == rtype ? n -= 1 : “fotogallery” == rtype ? a -= 1 : “video” == rtype && (o -= 1), fadeEl(e, !0), updateCntRL(t, n, a, o) }) }), rti_menu.querySelector(“#view-later”).style.display = “block”, rti_menu.querySelector(“#view-later-box”).classList.add(“loaded”) } } function drawViewlater(e) { if (e.data.events[0]) { var t = e.resultInfo.totalResult; rti_menu.querySelector(“#user_saved span”).innerHTML = “(” + t + “)” } } function drawFollow(e) { if (e.data.events[0]) { var t = e.resultInfo.totalResult; rti_menu.querySelector(“#user_fav span”).innerHTML = “(” + t + “)” } } function drawTocomplete(e) { if (e.data.events[0]) { var t = e.resultInfo.totalResult; document.querySelector(“#user_continue span”).innerHTML = “(” + t + “)” } } var UID, js_rtilogin, u_data, mail, rtype, rid, later_btn, user_logged, rti_menu = “”, canRefresh = !0, u_action = “readlater”, li_type_sel = “all”, ass_dom = document.location.hostname.indexOf(“.dev.”) > 1 ? “.dev” : “”, video_dom = “” === ass_dom ? “//www.mediaset.it” : “//dev2.dev.mediaset.net”, _size = 100, BigData = { login: { json_data: “” }, readlater: { json_data: “”, url: “/BigData/rest/search/tgcom24.readlater,vod.readlater/?fieldsTemplate=tgcomWeb” }, viewlater: { json_data: “”, url: “/BigData/rest/search/vod.readlater/?fieldsTemplate=web” }, follow: { json_data: “”, url: “/BigData/rest/search/bigdata/vod.follow.brandinfo/?&fieldsTemplate=vodWeb” }, tocomplete: { json_data: “”, url: “/BigData/rest/search/bigdata/vod.tocomplete/?&fieldsTemplate=vodWeb” } }, rti_bar_default = { bar_config: { project: “mediaset”, style: { tmpl: “tmpl_white”, labels: !1, icons: !0, logos: !0 }, menu: { readlater: !1, viewlater: !1, menu_fan: !1, menu_login: !0, menu_network: !0, menu_tgcom: !0, menu_search: [!1, “/ricerca/risultato.shtml”] }, footer: !0 } }, rti_bar_config = void 0 === rti_bar_config ? rti_bar_default : rti_bar_config; Array.from || (Array.from = function() { var e = Object.prototype.toString, t = function(t) { return “function” == typeof t || “[object Function]” === e.call(t) }, r = Math.pow(2, 53) – 1; return function(e) { var n = Object(e); if (null == e) throw new TypeError(“Array.from requires an array-like object – not null or undefined”); var a, o = arguments.length > 1 ? arguments[1] : void 0; if (void 0 !== o) { if (!t(o)) throw new TypeError(“Array.from: when provided, the second argument must be a function”); arguments.length > 2 && (a = arguments[2]) } for (var i, l = function(e) { var t = function(e) { var t = Number(e); return isNaN(t) ? 0 : 0 !== t && isFinite(t) ? (t > 0 ? 1 : -1) * Math.floor(Math.abs(t)) : t }(e); return Math.min(Math.max(t, 0), r) }(n.length), s = t(this) ? Object(new this(l)) : new Array(l), c = 0; c < l;) i = n[c], s[c] = o ? void 0 === a ? o(i, c) : o.call(a, i, c) : i, c += 1; return s.length = l, s } }()), Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector), Element.prototype.closest || (Element.prototype.closest = function(e) { var t = this; if (!document.documentElement.contains(t)) return null; do { if (t.matches(e)) return t; t = t.parentElement || t.parentNode } while (null !== t && 1 === t.nodeType); return null }), Handlebars.registerHelper("compare", function(e, t, r) { if (arguments.length < 3) throw new Error("Handlerbars Helper 'compare' needs 2 parameters"); var n = r.hash.operator || "==", a = { "==": function(e, t) { return e == t }, "===": function(e, t) { return e === t }, "!=": function(e, t) { return e != t }, "<": function(e, t) { return e ": function(e, t) { return e > t }, “<=": function(e, t) { return e =": function(e, t) { return e >= t }, typeof: function(e, t) { return typeof e == t } }; if (!a[n]) throw new Error(“Handlerbars Helper ‘compare’ doesn’t know the operator ” + n); return a[n](e, t) ? r.fn(this) : r.inverse(this) }), “function” != typeof callmeBack && (window.callmeBack = function() {}), get_rti_menu(); var BigData_service = (window.location.hostname.indexOf(“-dev”) > -1 || window.location.hostname.indexOf(“-stage”) > -1 ) ? “https://api.dev.mediaset.net” : “https://api.mediaset.net”, project = “videomediaset” === rti_bar_config.bar_config.project ? “vod” : “tgcom24”; var ddg_host = (window.location.hostname.indexOf(“-dev”) > -1 || window.location.hostname.indexOf(“-stage”) > -1 ) ? “https://api-bdsl-test.cloud.mediaset.net” : “https://api-bdsl.cloud.mediaset.net” ;]]]]]]]]>]]]]]]>]]]]>]]>

1 ){ $(‘.sezione .d .ds__autoplay .dsrow.loaded > li’).appendTo($carousel); } $(”).insertBefore($carousel); $(”).insertAfter($carousel); // initMobileSliderWithVariable(‘.sezione .d .ds__autoplay .dsrow__column’, 1, 1, ‘.sezione .d .ds__autoplay span.arrow-left’, ‘.sezione .d .ds__autoplay span.arrow-right’); // for videotop $carousel.find(‘.db__ra’).closest(‘li’).remove(); initMobileSliderWithVariableAndFiniteScroll(caruselSelectorClass, 1, 1, ”, ”); // for videotop window.addEventListener(“message”, function () { if (event.data) { if (event.data.status === ‘playing’) { var $iframe = $carousel.find(‘.d__iframe iframe’); $carousel.slick(‘slickCurrentSlide’) > 0 && $iframe.length > 0 && stopIframeVideo($iframe[0]); $carousel.off(‘afterChange’).on(‘afterChange’, function (slick, slide) { slide.currentSlide > 0 && $iframe.length > 0 && stopIframeVideo($iframe[0]); }); } } }); } } if(window.screen.width ]]]]]]>]]]]>]]> 2 && urlSplit[2].lastIndexOf(‘.shtml’) 3 && urlSplit[3].lastIndexOf(‘.shtml’) 1 && urlSplit[1]==’primopiano’ && body.className.indexOf(‘primopiano’) > -1 ) { page_type = ‘home-sezione’; content_type = ‘home-sezione’; } /* /richiesta in BDT-622 per hpaggregata primopiano */ var page_url = ‘https://’ + location.hostname + location.pathname; var slider_tag = ”; if (content_type == ‘fotogallery’ || content_type == ‘infografica’) { var array_gallery = document.querySelectorAll(‘div[class*=”g”][class*=”g__v”]’); var arrayLength = array_gallery.length; for (var i = 0; i < arrayLength; i++) { var gallery_item = array_gallery[i]; var content_id = (content_type == 'articolo' ? gallery_item.querySelector('[data-cid]').dataset.cid : content_id); var posCarousel = (i + 1); var posItem = gallery_item.querySelector('img[data-pos]').dataset.pos; var idItem = posItem; var totItem = gallery_item.querySelectorAll('img[data-pos]').length; /* select last data-pos */ slider_tag += (i==0 ? '':',') + content_id + '.' + posCarousel + '.' + idItem + '.' + posItem + '.' + totItem; } } var usAgentSlug = ''; if (navigator.userAgent.match(/iPad/i)){ usAgentSlug = 'mobile_web_ipad'; } else if(navigator.userAgent.match(/iPhone/i)){ usAgentSlug = 'mobile_web_iphone'; } else if (navigator.userAgent.match(/Tablet/i) || (!navigator.userAgent.match(/Mobile/i) && navigator.userAgent.match(/Android/i))){ usAgentSlug = 'mobile_web_android_tablet'; } else if(navigator.userAgent.match(/Android/i)){ usAgentSlug = 'mobile_web_android_phone'; } else { usAgentSlug = 'desktop'; } var publish_date = ''; if (content_type == 'articolo' || content_type == 'fotogallery' || content_type == 'video' || content_type == 'infografica' ) { var dateInPageSelector = document.querySelector('.da time'); if(dateInPageSelector && typeof dateInPageSelector!='undefined'){ var dateInPage = dateInPageSelector.getAttribute('datetime'); if (dateInPage.indexOf(':') 0) { var dateInMeta = dateMeta.content; var dateUTC = new Date(dateInMeta).toISOString(); if (dateUTC) { publish_date = dateUTC.replace('Z','+0000'); } } } //remove - Tgcom24 in title. var page_title = document.getElementsByTagName("title")[0].innerHTML; if(page_url != 'https://www-stage.tgcom24.mediaset.it/' || page_url != 'https://www.tgcom24.mediaset.it/'){ page_title = page_title.replace(' - Tgcom24',''); } //remove - end // always lowercase var utag_data = { page_id: "mediaset-" + property + "-" + content_type + "-" + content_id, // no lowercase eg. mediaset-tgcom24-articolo-500309 content_id : content_id, // no lowercase brand: property, page_section : page_section, page_subsection : page_subsection, page_subsubsection : page_subsubsection, content_type : content_type, page_title : page_title, page_type : page_type, page_url : page_url, slider : slider_tag, adv_site_section : property + '_' + content_type + '_' + usAgentSlug + '_player', test_experiment : '', test_variant : '', publish_date : publish_date, platform: property + '-web' }; if (typeof page_subsubsection == 'undefined' || page_subsubsection.length < 1) { delete utag_data.page_subsubsection; } if (typeof page_subsection == 'undefined' || page_subsection.length < 1) { delete utag_data.page_subsection; } if (typeof slider_tag == 'undefined' || slider_tag.length utag_data.page_id: ' + utag_data.page_id + ', nutag_data.content_id: ' + utag_data.content_id + ', nutag_data.brand: ' + utag_data.brand + ', nutag_data.page_section: ' + utag_data.page_section + (typeof utag_data.page_subsection !== 'undefined' && utag_data.page_subsection.length > 0 ? ‘, nutag_data.page_subsection: ‘ + utag_data.page_subsection : ”) + (typeof utag_data.page_subsubsection !== ‘undefined’ && utag_data.page_subsubsection.length > 0 ? ‘, nutag_data.page_subsubsection: ‘ + utag_data.page_subsubsection : ”) + ‘, nutag_data.content_type: ‘ + utag_data.content_type + ‘, nutag_data.page_title: ‘ + utag_data.page_title + ‘, nutag_data.page_type: ‘ + utag_data.page_type + ‘, nutag_data.page_url: ‘ + utag_data.page_url + (typeof utag_data.slider !== ‘undefined’ && utag_data.slider.length > 0 ? ‘, nutag_data.slider: ‘ + utag_data.slider : ” ) + ‘, nutag_data.adv_site_section: ‘ + utag_data.adv_site_section + ‘, nutag_data.publish_date: ‘ + utag_data.publish_date + ‘, nutag_data.platform: ‘ + utag_data.platform); } logUtagdata(); (function(a,b,c,d){ a=’//tags.tiqcdn.com/utag/mediaset/med.tgcom24.mediaset.it/prod/utag.js’; b=document;c=’script’;d=b.createElement(c);d.src=a;d.type=’text/java’+c;d.async=true; a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a); })(); function afterUtagIsLoaded (e) { // run after init tealium var slider_tag = ”; var array_gallery = document.querySelectorAll(‘div[class*=”g”][class*=”g__v”]’); var arrayLength = array_gallery.length; for (var i = 0; i ]]]]]]>]]]]>]]> = 0 && bounding.left <= (window.innerWidth || document.documentElement.clientWidth) && bounding.top + (bounding.height / 2 + 50) <= (window.innerHeight || document.documentElement.clientHeight) ); if(isIn==true){ _isVideoEnteredInView.set($(elem).find('[id^="playeriframe"], [id^="player_mediasetplay"], [id=player_live]').attr('id'),isIn); } }else{ isIn = ( bounding.top = 0 && bounding.bottom >= (bounding.height / 2 + 50) && bounding.right -1) { sBrowser = false; } else if (sUsrAg.indexOf(“SamsungBrowser”) > -1) { sBrowser = false; } else if (sUsrAg.indexOf(“Opera”) > -1 || sUsrAg.indexOf(“OPR”) > -1) { sBrowser = false; } else if (sUsrAg.indexOf(“Trident”) > -1) { sBrowser = false; } else if (sUsrAg.indexOf(“Edge”) > -1) { sBrowser = false; } else if (sUsrAg.indexOf(“Edg”) > -1) { sBrowser = false; } else if (sUsrAg.indexOf(“Chrome”) > -1) { sBrowser = true; } else if (sUsrAg.indexOf(“Safari”) > -1) { sBrowser = false; } var isAndroidAndIsChrome = /Android/i.test(navigator.userAgent) && sBrowser; var floatingVideoInCarousel = false; var elementFloatingVideoInCarousel = null; function updateCarouselFloatingVideo(floating_element){ var lista_slick_list = $(‘.slick-list’); lista_slick_list.each(function( index ) { if ($(this).find(floating_element).length >= 1) { floatingVideoInCarousel = true; $(this).addClass(“floating-video-carousel-slick-list”); elementFloatingVideoInCarousel = $(this); } }); } function removeCarouselFloatingVideo(){ if (elementFloatingVideoInCarousel != null){ elementFloatingVideoInCarousel.removeClass(“floating-video-carousel-slick-list”); } elementFloatingVideoInCarousel = null; floatingVideoInCarousel = false; } function floatVideo(customVideoWrap, customVideoHeight){ var isDirettaWeb = customVideoWrap && customVideoWrap.length && customVideoWrap.closest(‘article’).hasClass(‘direttaweb’); if(isAndroidAndIsChrome && isDirettaWeb) return false; var leftDBody = $(‘body > .d’).offset().left; if(playerLiveActive){ $(‘header#dh > .video-floating-container, .playerlive__mobile .video-floating-container’).css(‘left’,leftDBody+11); }else{ $(‘:not(header#dh) > .video-floating-container’).css(‘left’,leftDBody+11); } if(window.screen.width 1024){ console.log(‘ videoHeight ‘, videoHeight); if($videoWrap && $videoWrap.length > 0 && videoHeight > 0){ if(playerLiveActive){ $videoWrap.height(videoHeight); } }else if(customVideoWrap && customVideoWrap.length > 0 && customVideoHeight){ customVideoWrap.height(customVideoHeight); } } if(stickyHeight > 0){ if(window.screen.width > 1024){ if(customVideoWrap && customVideoWrap.length){ customVideoWrap.parent().css(‘bottom’,’calc(100% – ‘ + (175 + stickyHeight) +’px)’);//video-floating-container }else{ if(playerLiveActive){ $(‘header#dh > .video-floating-container, .playerlive__mobile .video-floating-container’).css(‘bottom’,’calc(100% – ‘ + (175 + stickyHeight) +’px)’); }else{ $(‘:not(header#dh) > .video-floating-container’).css(‘bottom’,’calc(100% – ‘ + (175 + stickyHeight) +’px)’); } } }else{ if(customVideoWrap && customVideoWrap.length){ customVideoWrap.parent().css(‘bottom’, (20 + stickyHeight) +’px’);//video-floating-container }else{ if(playerLiveActive){ $(‘header#dh > .video-floating-container, .playerlive__mobile .video-floating-container’).css(‘bottom’, (20 + stickyHeight) +’px’);//video-floating-container }else{ $(‘:not(header#dh) > .video-floating-container’).css(‘bottom’, (20 + stickyHeight) +’px’);//video-floating-container } } } } if(customVideoWrap && customVideoWrap.length){ customVideoWrap.parent().addClass(‘floating’); }else{ if(playerLiveActive && $(‘.floating’).length == 0){ $(‘header#dh > .video-floating-container, .playerlive__mobile .video-floating-container’).addClass(‘floating’); }else{ // autoplay in home if($(‘:not(header#dh) > .playing .video-floating-container’).length > 0){ $(‘:not(header#dh) > .playing .video-floating-container’).addClass(‘floating’); }else{ // live in page? if($(‘:not(header#dh) > .media__live’).length > 0){ $(‘:not(header#dh) > .media__live .video-floating-container’).addClass(‘floating’); } } } } //console.log(‘added floating class’); if(window.screen.width 767 && floatingVideoInCarousel){ removeCarouselFloatingVideo(); } } var noVideoFloat = false; function closeFloatingVideo(force){ if($videoWrap && $videoWrap.length > 0){ $videoWrap.height(‘auto’); } $(‘.video-floating-container’).removeClass(‘floating’); $(‘.video-floating-container’).css(‘left’,”); /*if(stickyHeight > 0){ $(‘.video-floating-container’).css(‘top’,topNewContainer); }*/ if(force){ noVideoFloat = true; displayVideo(); } //console.log(‘EventSender removed floating class’); if (floatingVideoInCarousel){ removeCarouselFloatingVideo(); } } if(window.screen.width > 1024){ var headerState = “normal”; } function displayVideo(customVideo){ //verify ex wrapper display if(window.screen.width <= 1024){ return displayVideoMobile(); } if($('body').hasClass('homepage')){ var displayAttr = $('header .dlstr').css('display'); if(displayAttr != 'none' || ($(window).scrollTop() < 1 && headerState=='normal')){ $('header#dh .video-floating-container').css('display','block'); }else{ $('header#dh .video-floating-container').css('display','none'); } } //console.log('EXWrapper header is '+displayAttr); } function displayVideoMobile(){ //verify ex wrapper display if($videoWrap && isInViewport($videoWrap[0])){ $('.video-floating-container').css('display','block'); } //console.log('EXWrapper header is '+displayAttr); } function floatingMobileObserveAds(idAdsCustom){ var idAds = '#div-gpt-320x50'; if(idAdsCustom){ idAds = idAdsCustom; } window.addEventListener('rtimenuInitComplete', function() { if(window.googletag && googletag.apiReady) { googletag.pubads().addEventListener('slotRenderEnded', function(event) { if (event.slot.getSlotElementId() == idAds.replace('#', '')) { if($('.video-floating-container').hasClass('floating')){ console.log('ADV STICKY RENDERED'); floatVideo(); } } }); googletag.pubads().addEventListener('slotOnload', function(event) { if (event.slot.getSlotElementId() == idAds.replace('#', '')) { if($('.video-floating-container').hasClass('floating')){ console.log('ADV STICKY LOAD'); floatVideo(); } } }); googletag.pubads().addEventListener('impressionViewable', function(event) { if (event.slot.getSlotElementId() == idAds.replace('#', '')) { if($('.video-floating-container').hasClass('floating')){ console.log('ADV STICKY IMPRESSION'); floatVideo(); } } }); } }); } function setVideoObjects(customVideo){ if(customVideo){ $videoInpage = $(customVideo); if(playerLiveActive && window.screen.width 0){ var _homepagevideos = new Map(); function canIScroll (customScrollTop,customScrollDirection,customVideo) { // sovrascrivo videoInpage solo se non esiste if((customVideo && (!$videoInpage || $videoInpage.length < 1 || Object.keys($videoInpage).length == 0) ) || (customVideo && (!$videoInpageWrap || $videoInpageWrap.length < 1 || Object.keys($videoInpageWrap).length == 0))){ $videoInpageWrap = (window.screen.width <= 1024 ? $(customVideo).closest('.d__iframe') : $(customVideo).closest('figure')); videoInpageHeight = $(customVideo).outerHeight(); $videoInpage = $(customVideo); } // console.log('CAN-I-SCROLL id ', $videoInpage); var canscroll = true; if($videoInpage.length && $videoInpage.attr('id').indexOf('live') ($videoInpageWrap.offset().top + Math.ceil(videoInpageHeight*0.1)) || customScrollTop 0 && !isInViewport($videoInpageWrap[0],customScrollDirection) && isAlreadyVisible == true ; }else{ // is live // console.log('CAN-I-SCROLL LIVE customScrollTop ' +customScrollTop+', '+ (isInViewport($videoInpageWrap[0],customScrollDirection))); canscroll = customScrollTop > 0 && ( (window.screen.width > 1024 && headerState!=’normal’ && $(‘body’).hasClass(‘homepage’)) || (window.screen.width 1024 || (window.screen.width 0) ){ var $window = $(window); if(window.screen.width > 1024){ $videoWrap = $(‘.d__iframe’); //div wrap del contenitore }else{ $videoWrap = $(‘.playerlive__mobile article figure’); //div wrap del contenitore mobile } /*if($(‘.media__live’).length == 0 && $(‘.media__play’).length == 0){ $(‘.player__live’).find(‘.iframe_mediaset_home’).length == 0 && $(‘.player__live’).append(‘

[]Clicca qui per collegarti al sito e articolo dell’autore

[]”https://www.tgcom24.mediaset.it/cronaca/liguria/ponte-morandi-cartabia-a-familiari-vittime-dovere-garantire-processo_53552104-202202k.shtml”

[]Pubblichiamo solo i migliori articoli della rete. Clicca qui per visitare il sito di provenienza. SITE: the best of the best ⭐⭐⭐⭐⭐

[]Clicca qui per collegarti al sito e articolo dell’autore

[]La rete Adessonews è un aggregatore di news e replica gli articoli senza fini di lucro ma con finalità di critica, discussione od insegnamento, come previsto dall’art. 70 legge sul diritto d’autore e art. 41 della costituzione Italiana. Al termine di ciascun articolo è indicata la provenienza dell’articolo. Per richiedere la rimozione dell’articolo clicca qui

#adessonews

#adessonews

#adessonews

 

Richiedi info
1
Richiedi informazioni
Ciao Posso aiutarti?
Per qualsiasi informazione:
Inserisci il tuo nominativo e una descrizione sintetica dell'agevolazione o finanziamento richiesto.
Riceverai in tempi celeri una risposta.