Totally Spies : Panique chez le dentiste

S3 ép. 11 : Panique chez le dentiste

Totally Spies Panique chez le dentiste
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 21m 50s
Visible pendant
Un dentiste aigri, autrefois de renommée mondiale, veut se venger de ceux qui ont coulé son cabinet. Armé d'un matériel dentaire bizarre, il transforme ses victimes en véritables désastres dentaires.

Aucun commentaire

Valider
Le top dessins animés Gulli Replay