Cry Babies - Magic Tears : Qu'il pleuve qu'il pleuve

S3 ép. 22 : Qu'il pleuve qu'il pleuve

Cry Babies - Magic Tears Qu'il pleuve qu'il pleuve
document.playerloaded = true; document.playerstate = "notfloating"; document.playerViewState = true; document.playerClicked = false; var lazyIframe = { query:function(rule){ return document.querySelectorAll(rule); }, isInView:function(domElt){ var coords = domElt.getBoundingClientRect(); return (coords.top < window.innerHeight/2); }, isOutView:function(domElt){ var coords = domElt.parentNode.children[0].getBoundingClientRect(); if( ( coords.height + coords.top - 40 ) < 0 )return true; if( coords.top > (window.innerHeight - 40 )) return true; return false; }, floatingthumb:function(domElt){ if( document.playerstate == "notfloating" && document.playerloaded && document.playerClicked) { document.playerstate = "floating"; $(domElt ).addClass("jwplfloat"); $(domElt).prepend("
"); $(domElt).find(".closebtttn, .closebtttn button").bind("click", function(){ lazyIframe.unfloatingthumb(domElt); document.playerstate = "locked"; }) } }, unfloatingthumb:function(domElt){ if( document.playerstate == "floating" && document.playerloaded && document.playerClicked) { document.playerstate = "notfloating"; $(domElt).removeClass("jwplfloat"); $(".closebtttn").remove(); } }, load:function(domElt){ var src = domElt.getAttribute("data-src"); if(src != "loaded"){ domElt.setAttribute("src", src); domElt.setAttribute("data-src", "loaded"); document.playerloaded = true; } }, run:function(){ lazyIframes = lazyIframe.query(".lazyplayer"); for (var k = 0; k < lazyIframes.length; k++){ if( lazyIframe.isInView(lazyIframes[k])) { lazyIframe.load( lazyIframes[k] ); } } if( typeof(window.matchMedia) === "function" ){ /*if (window.matchMedia("(min-width: 800px)").matches) {*/ if(true){ floatingFrames = lazyIframe.query(".lazyplayercontainer"); for (var k = 0; k < floatingFrames.length; k++){ if(k < 1){ currentViewState = lazyIframe.isOutView(floatingFrames[k]); if(currentViewState != document.playerViewState ){ document.playerViewState = currentViewState; if( currentViewState ) { console.log("outview:floating"); lazyIframe.floatingthumb( floatingFrames[k] ); }else{ console.log("intview:unfloating"); lazyIframe.unfloatingthumb( floatingFrames[k] ); } } } } } } }, attachEvent:function(){ document.addEventListener("scroll", lazyIframe.run); window.addEventListener( "message", function (e) { if(e.data == "jwplClicked" ){ document.playerClicked = true; } }); }, }; lazyIframe.attachEvent();
Durée 00h 05m 10s
Visible pendant
Les Cry Babies Magic Tears réalisent qu'ils n'ont pas de fruits car il n'a pas plu depuis longtemps. Ils ont besoin de trouver une solution ! Les Cry Babies mettent en place toutes sortes de rituels, mais ... pourront-ils faire pleuvoir à nouveau dans la baie de Tutti Frutti ?

Aucun commentaire

Valider
Le top dessins animés Gulli Replay