Kingdom Force : Frayeur dans le téléphérique

S1 ép. 8 : Frayeur dans le téléphérique

Kingdom Force Frayeur dans le téléphérique
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 10m 41s
Visible pendant
La Force des Royaumes doit sauver une famille ours coincée dans un téléphérique, mais Arthur, le neveu de Norvyn, complique un peu les choses en arrivant aux commandes de l'unité 5.

Aucun commentaire

Valider
Le top dessins animés Gulli Replay