Chica Vampiro mortel d'être un vampire : Les vampires préfèrent les mortels

S1 ép. 35 : Les vampires préfèrent les mortels

Chica Vampiro mortel d'être un vampire Les vampires préfèrent les mortels
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 47m 02s
Visible pendant
Mirko et Max se font renvoyer du lycée après s'être battus devant l'établissement. Néanmoins Max est autorisé à retrouver les bancs de l'école, ce qui suscite la jalousie de Mirko. Il est de plus en plus convaincu que si Max devenait vampire, il serait moins apprécié de tous... et donc de Daisy.

Aucun commentaire

Valider