Toutes les bandes-annonces (7)
';
confSlideShow['v']['iLyROoafIKeF'] = new Array(Array);
confSlideShow['v']['iLyROoafIKeF']['urlMovie'] = 'iLyROoafIKeF';
confSlideShow['v']['iLyROoafIKeF']['alt'] = 'Bande annonce';
confSlideShow['v']['iLyROoafIKeF']['prev'] = 'iLyROoafIxya';
confSlideShow['v']['iLyROoafIKeF']['next'] = 'iLyROoafIFiF';
confSlideShow['v']['iLyROoafIKeF']['index'] = 1;
confSlideShow['v']['iLyROoafIFiF'] = new Array(Array);
confSlideShow['v']['iLyROoafIFiF']['urlMovie'] = 'iLyROoafIFiF';
confSlideShow['v']['iLyROoafIFiF']['alt'] = 'Bande annonce (vost)';
confSlideShow['v']['iLyROoafIFiF']['prev'] = 'iLyROoafIKeF';
confSlideShow['v']['iLyROoafIFiF']['next'] = 'iLyROoafIx-T';
confSlideShow['v']['iLyROoafIFiF']['index'] = 2;
confSlideShow['v']['iLyROoafIx-T'] = new Array(Array);
confSlideShow['v']['iLyROoafIx-T']['urlMovie'] = 'iLyROoafIx-T';
confSlideShow['v']['iLyROoafIx-T']['alt'] = 'Extrait 1 ';
confSlideShow['v']['iLyROoafIx-T']['prev'] = 'iLyROoafIFiF';
confSlideShow['v']['iLyROoafIx-T']['next'] = 'iLyROoafIx-0';
confSlideShow['v']['iLyROoafIx-T']['index'] = 3;
confSlideShow['v']['iLyROoafIx-0'] = new Array(Array);
confSlideShow['v']['iLyROoafIx-0']['urlMovie'] = 'iLyROoafIx-0';
confSlideShow['v']['iLyROoafIx-0']['alt'] = 'Extrait 1 (vost)';
confSlideShow['v']['iLyROoafIx-0']['prev'] = 'iLyROoafIx-T';
confSlideShow['v']['iLyROoafIx-0']['next'] = 'iLyROoafIxLl';
confSlideShow['v']['iLyROoafIx-0']['index'] = 4;
confSlideShow['v']['iLyROoafIxLl'] = new Array(Array);
confSlideShow['v']['iLyROoafIxLl']['urlMovie'] = 'iLyROoafIxLl';
confSlideShow['v']['iLyROoafIxLl']['alt'] = 'Extrait 2';
confSlideShow['v']['iLyROoafIxLl']['prev'] = 'iLyROoafIx-0';
confSlideShow['v']['iLyROoafIxLl']['next'] = 'iLyROoafIxLJ';
confSlideShow['v']['iLyROoafIxLl']['index'] = 5;
confSlideShow['v']['iLyROoafIxLJ'] = new Array(Array);
confSlideShow['v']['iLyROoafIxLJ']['urlMovie'] = 'iLyROoafIxLJ';
confSlideShow['v']['iLyROoafIxLJ']['alt'] = 'Extrait 2 (vost)';
confSlideShow['v']['iLyROoafIxLJ']['prev'] = 'iLyROoafIxLl';
confSlideShow['v']['iLyROoafIxLJ']['next'] = 'iLyROoafIxya';
confSlideShow['v']['iLyROoafIxLJ']['index'] = 6;
confSlideShow['v']['iLyROoafIxya'] = new Array(Array);
confSlideShow['v']['iLyROoafIxya']['urlMovie'] = 'iLyROoafIxya';
confSlideShow['v']['iLyROoafIxya']['alt'] = 'Extrait 3 (vost)';
confSlideShow['v']['iLyROoafIxya']['prev'] = 'iLyROoafIxLJ';
confSlideShow['v']['iLyROoafIxya']['next'] = 'iLyROoafIKeF';
confSlideShow['v']['iLyROoafIxya']['index'] = 7;
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'] + "/7 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", "iLyROoafIKeF");
//-->