Toutes les bandes-annonces (5)
';
confSlideShow['v']['iLyROoafv5Tn'] = new Array(Array);
confSlideShow['v']['iLyROoafv5Tn']['urlMovie'] = 'iLyROoafv5Tn';
confSlideShow['v']['iLyROoafv5Tn']['alt'] = 'Bande-annonce (VOST)';
confSlideShow['v']['iLyROoafv5Tn']['prev'] = 'iLyROoafvOQy';
confSlideShow['v']['iLyROoafv5Tn']['next'] = 'iLyROoafvOjv';
confSlideShow['v']['iLyROoafv5Tn']['index'] = 1;
confSlideShow['v']['iLyROoafvOjv'] = new Array(Array);
confSlideShow['v']['iLyROoafvOjv']['urlMovie'] = 'iLyROoafvOjv';
confSlideShow['v']['iLyROoafvOjv']['alt'] = 'Extrait 1 (VOST)';
confSlideShow['v']['iLyROoafvOjv']['prev'] = 'iLyROoafv5Tn';
confSlideShow['v']['iLyROoafvOjv']['next'] = 'iLyROoafvOjO';
confSlideShow['v']['iLyROoafvOjv']['index'] = 2;
confSlideShow['v']['iLyROoafvOjO'] = new Array(Array);
confSlideShow['v']['iLyROoafvOjO']['urlMovie'] = 'iLyROoafvOjO';
confSlideShow['v']['iLyROoafvOjO']['alt'] = 'Extrait 2 (VOST)';
confSlideShow['v']['iLyROoafvOjO']['prev'] = 'iLyROoafvOjv';
confSlideShow['v']['iLyROoafvOjO']['next'] = 'iLyROoafvOcD';
confSlideShow['v']['iLyROoafvOjO']['index'] = 3;
confSlideShow['v']['iLyROoafvOcD'] = new Array(Array);
confSlideShow['v']['iLyROoafvOcD']['urlMovie'] = 'iLyROoafvOcD';
confSlideShow['v']['iLyROoafvOcD']['alt'] = 'Extrait 3 (VOST)';
confSlideShow['v']['iLyROoafvOcD']['prev'] = 'iLyROoafvOjO';
confSlideShow['v']['iLyROoafvOcD']['next'] = 'iLyROoafvOQy';
confSlideShow['v']['iLyROoafvOcD']['index'] = 4;
confSlideShow['v']['iLyROoafvOQy'] = new Array(Array);
confSlideShow['v']['iLyROoafvOQy']['urlMovie'] = 'iLyROoafvOQy';
confSlideShow['v']['iLyROoafvOQy']['alt'] = 'Extrait 4 (VOST)';
confSlideShow['v']['iLyROoafvOQy']['prev'] = 'iLyROoafvOcD';
confSlideShow['v']['iLyROoafvOQy']['next'] = 'iLyROoafv5Tn';
confSlideShow['v']['iLyROoafvOQy']['index'] = 5;
var current = new Array();
function viewPhotoVideo(type, numero) {
jQuery(".slideshowProfil img, .am-container img").removeClass("current");
jQuery("#"+type+"Thumb"+numero).addClass("current");
jQuery("#photoVideoViewer").show();
if (!elementInViewport(document.getElementById("photoVideoViewer"), 180)) { /*barre connexion + marge pour voir la photo bouger*/
jQuery("html,body").animate({scrollTop:jQuery("#photoVideoViewer").offset().top-40},100,"swing");
}
/*Load photo ou vidéo*/
if (type == "p") {
jQuery("#spinContainer").remove();
var opts = { lines: 12, length: 5, width: 2, radius: 10, color: "#000", speed: 1, trail: 60, shadow: false };
jQuery("#spinner").prepend('
');
var posiDiv = jQuery("#spinner").position();
var wid = 80;
var hei = 40;
var x = posiDiv.left + ((jQuery("#spinner").width() - wid) / 2);
var y = posiDiv.top + 225;
jQuery("#spinContainer").css("height", hei + "px");
jQuery("#spinContainer").css("width", wid + "px");
jQuery("#spinContainer").css("position", "absolute");
jQuery("#spinContainer").css("top", y + "px");
jQuery("#spinContainer").css("left", x + "px");
var target = document.getElementById("spinContainer");
var spinner = new Spinner(opts).spin(target);
jQuery("#viewer").html("
");
jQuery("#imgViewer").load(function() {jQuery("#spinContainer").remove();jQuery("#viewer").append(confSlideShow[type][numero]['alt']);});
jQuery("#controls .step").html(confSlideShow[type][numero]['index'] + "/0 photos");
} else {
var reg=new RegExp("(@@urlMovie@@)", "g");
jQuery("#viewer").html(videoPlayerObjectString.replace(reg, confSlideShow[type][numero]['urlMovie']) + "
"+confSlideShow[type][numero]['alt']);
jQuery("#controls .step").html(confSlideShow[type][numero]['index'] + "/5 vidéos");
}
/*Reload RM, seulement si on change de photo ou video */
if (current.length!==0) {
jQuery("#iframeRM").remove();
var theframe = jQuery('
');
jQuery("body").append(theframe);
jQuery("#iframeRM").load(function(){
var dataRM = jQuery("#iframeRM").contents().find("#pubcarreRefresh").html();
var RMClean = jQuery(dataRM).html(); /* Ceci permet de supprimer les tags SCRIPT du code, pour ne pas les rejouer quand on l injecte à droite */
if (RMClean) {
jQuery("#pubcarre").empty().html(RMClean);
}
});
}
current = new Array(type, numero);
}
viewPhotoVideo("v", "iLyROoafv5Tn");
//-->