FOTO24 VIDEO24 Logo Mediaset ComingSoon.it Donne logo mastergame Grazia Meteo.it People sportmediaset_negative sportmediaset_positive TGCOM24 meteo.it
Podcast DirettaCanale 51
Temi del momento

Quando Tyler, la star di YouTube, trollava a "C'è posta per te"

Trollare (ovvero in gergo web provocare) sin dalla più tenera età.

E' quello che ha fatto Tyler, youtuber italiano da 450mila fan, che sulla piattaforma Blasteem ha postato il video del suo primo scherzo pubblico. Fatto niente meno che a "C'è posta per te", dove si è presentato quando aveva 4 anni per chiamare il padre e dirgli che non voleva più giocare con lui.



') } if(window.screen.width > 1024){ $videoWrap = $('.d__iframe'); //div wrap del contenitore }else{ $videoWrap = $('.playerlive__mobile article figure'); //div wrap del contenitore mobile } var $video = $('#player_live'); //div contenitore iframe videoHeight = $video.outerHeight(); if(window.screen.width > 1024){ $('header#dh .video-floating-containe').length == 0 && $('header#dh').append(''); }else{ $('.playerlive__placeholder').find('.video-floating-container').length == 0 && $('.playerlive__placeholder').replaceWith(''); var _iframesrc = $('#player_live').attr('data-src'); $('#player_live').attr('src',_iframesrc+'&purl='+encodeURIComponent("https://www.tgcom24.mediaset.it/homepage-player-live/")); }*/ //$('.video-floating-container').append($video); //metto iframe video nel nuovo contenitore essendo in desktop $('.video-floating-container .close-video-button').on("click", function(event){ event.preventDefault(); closeFloatingVideo(true); }); if(typeof MMloadRichmedia != 'undefined' && MMloadRichmedia == true){ noVideoFloat = true; console.log("MMloadRichmedia is " + MMloadRichmedia); } var lastScrollTop = 0; function checkMobileCond(windowScrollTop){ var headerOff = Math.floor($('header#dh').outerHeight()); //console.log('scroll '+windowScrollTop+', off '+headerOff+', lastScrollTop '+lastScrollTop); if(windowScrollTop < headerOff && lastScrollTop > windowScrollTop){ if($('header#dh').hasClass('cond')){ $('header#dh').removeClass('cond'); //console.log(headerOff+' REMOVED cond '); } }else{ if(!$('header#dh').hasClass('cond') && windowScrollTop > headerOff){ $('header#dh').addClass('cond'); //console.log(headerOff+' ADD cond '); } } } if(window.screen.width <= 1024){ floatingMobileObserveAds();//sticky default } if(window.screen.width > 1024){ var observer = new MutationObserver(function(mutations) { mutations.forEach( function( mutation ){ if( mutation.attributeName === 'class' ){ console.log( 'Attribute class changed' ); if($('#dh').hasClass('cond')){ headerState = "collapsed"; if(noVideoFloat == false && playerLiveActive){ floatVideo(); } }else{ headerState = "normal"; } if(!$('header#dh .video-floating-container').hasClass('flaoting')){ displayVideo(); } } } ); }); var target = document.querySelector('#dh'); observer.observe(target, { attributes: true }); } $window.on('scroll', function() { if(typeof MMloadRichmedia != 'undefined' && MMloadRichmedia == true){ noVideoFloat = true; closeFloatingVideo(false); } var windowScrollTop = $window.scrollTop(); if(noVideoFloat == false){ //var videoBottom = Math.floor(videoHeight/2 + $videoWrap.offset().top); //offset if(window.screen.width <= 1024 && typeof MMloadSticky != "undefined"){ stickyHeight = 50; } //console.log('windowScrollTop: ' + windowScrollTop /*+ ', videoBottom: '+videoBottom*/); if($('figure.autoplay').length > 0){ $videoWrap = $videoInpageWrap; videoHeight = videoInpageHeight; $video = $videoInpage; } if(windowScrollTop > lastScrollTop){ scrolldirection = 'down'; }else{ scrolldirection = 'up'; } if(canIScroll(windowScrollTop,scrolldirection,(typeof $video !== 'undefined' ? $video[0] : null))){ floatVideo($videoInpage); if(isFirst){ isFirst = false; } } else { closeFloatingVideo(false); displayVideo((typeof $video !== 'undefined' ? $video[0] : null)); } }else{ // verify if diretta wrapper is showed displayVideo((typeof $video !== 'undefined' ? $video[0] : null)); } if(window.screen.width <= 1024){ checkMobileCond(windowScrollTop) } lastScrollTop = windowScrollTop <= 0 ? 0 : windowScrollTop; }); } // autoplay homepage if($('figure.autoplay').length > 0 || $('.media__live').length > 0){ playerLiveActive = false; closeFloatingVideo(); }else{ if(window.screen.width <= 1024){ $('.ph__diretta').css('display','none'); setVideoObjects($('#player_live')[0]); } } }); }else if($('body[data-content*="articolo"], body[data-content*="direttaweb"], body[data-content*="video"], body[data-content*="home-sezione"], body.archivio.video-media').length > 0){ if ($('body').data('content') == "articolo"){ generalFloatingVideo(); } else { window.addEventListener('load', (event) => { generalFloatingVideo(); }); } } /** * @param elem {JQuery} * @param flagBefore {Boolean} * @param flagAfter {Boolean} * */ function setFlagAutoplay (elem, flagBefore, flagAfter) { elem.removeAttr('mstready'); elem.each((i, el) => { var $el = $(el) var url = $el.attr('src'); //cambio url url = url.replace('&autoplay='+flagBefore,'&autoplay='+flagAfter); $el.attr('src',url); //reinit }) } function generalFloatingVideo () { var videoInpageHeight = 0; playerLiveActive = false; if($('.d .d__iframe iframe, .direttaweb .d__iframe iframe').length > 0){ var $window = $(window); $videoInpageWrap = $('.d__iframe').first(); //div wrap del contenitore $videoInpage = $('[id^=playeriframe_], #player_mediasetplay, #player_live').first(); //div contenitore iframe videoInpageHeight = $videoInpage.outerHeight(); $('[id^=playeriframe_], [id^=player_mediasetplay], [id^=player_live]').removeAttr('mstready'); if(window.screen.width > 1024){ //$('[id^=playeriframe_], [id^=player_mediasetplay], [id^=player_live]').wrap('
');//wrap dell'iframe in desktop $('[id^=playeriframe_]:not(:first), [id^=player_mediasetplay]:not(:first), [id=player_live]:not(:first)').parent().parent().append('
'); //tutti tranne il primo in autoplay }else{ //$('.playerlive__placeholder').parent().append(''); //$('.playerlive__placeholder').remove(); //$('[id^=playeriframe_], [id^=player_mediasetplay], [id^=player_live]').wrap('
');//wrap dell'iframe in desktop $('[id^=playeriframe_]:not(:first), [id^=player_mediasetplay]:not(:first), [id=player_live]:not(:first)').parent().parent().append('
'); //tutti tranne il primo in autoplay floatingMobileObserveAds(); } if ($('.video-floating-container').find('a.close-video-button').length === 0) { $('CHIUDI ').prependTo('.video-floating-container'); //aggiungo chiudi } $('.video-floating-container .close-video-button').css('visibility','hidden'); $('.video-floating-container .close-video-button').on("click", function(event){ event.preventDefault(); console.log('enableCloseFloating is '+enableCloseFloating); if(enableCloseFloating){ closeFloatingVideo(true); enableCloseFloating = false; $('.video-floating-container .close-video-button').css('visibility','hidden'); } }); $('.d__iframe .video-glass').on("click", function(event){ var elem = $(this).parent().find('[id^=playeriframe_]'); if(elem && (_statevideos.get(elem.attr('id')) == 'init' || _statevideos.get(elem.attr('id')) == 'pause')){ console.log('click on video ', elem.attr('id')); _statevideos.set(elem.attr('id'),'userclick'); setVideoObjects(elem[0]); setFlagAutoplay(elem, false, true); $(this).addClass('disable'); //nascondo glass setFlagAutoplay($('.d__iframe .video-floating-container iframe').not(elem), true, false); closeFloatingVideo(); enableCloseFloating = false; $('.video-floating-container .close-video-button').css('visibility','hidden'); console.log('Floating closed!!!'); } }); $('body.archivio.video-media').length && window.addEventListener('message', function(event) { // filter player embed messages (with sentinel equals to player-embed) if (event.data && event.data.sentinel === 'player-embed') { if (event.data.type === 'status-changed') { if(event.data.status === 'playing') { console.debug('EventListener player ', event.data); enableCloseFloating = true; $('.video-floating-container .close-video-button').css('visibility','visible'); } } } }); var articleLastScrollTop = 0; var scrolldirection = 'down'; $window.on('scroll', function() { if(typeof MMloadRichmedia != 'undefined' && MMloadRichmedia == true){ noVideoFloat = true; //closeFloatingVideo(false); } var windowScrollTop = $window.scrollTop(); if(noVideoFloat == false){ if(window.screen.width <= 1024 && typeof MMloadSticky != "undefined"){ stickyHeight = 50; } if(windowScrollTop > articleLastScrollTop){ scrolldirection = 'down'; }else{ scrolldirection = 'up'; } var isAlreadyVisible = _isVideoEnteredInView.get($videoInpage.attr('id')) ; if ( (windowScrollTop > ($videoInpageWrap.offset().top + Math.ceil(videoInpageHeight*0.1)) || windowScrollTop < ($videoInpageWrap.offset().top - Math.ceil(videoInpageHeight*0.1))) && $(_articlevideos).length > 0 && !isInViewport($videoInpageWrap[0],scrolldirection) && isAlreadyVisible == true) { floatVideo($('#'+$videoInpage.attr('id'))); if(isFirst){ isFirst = false; } } else { closeFloatingVideo(false); displayVideo(); } }else{ //console.log("NAY2 FLOAT!") } articleLastScrollTop = windowScrollTop <= 0 ? 0 : windowScrollTop; }); } }