/* 
Noven : ce fichier decrit les flashVar d'instanciation du player. Un mecanisme devra etre implemente pour charger par defaut la derniere video (flashVar videoId) 
*/
function callVideoLiee(value){
	setOmnitureTag(); 
	chargeVideoPlay(value);
}

function chargeVideoPlay(value){
   document.getElementById(attributes.id).chargeVideoPlay(value);
}

/* On recupere l'url courante, pour recuperer le domain courant à passer au playerVars */
var urlCourante = window.location.href;
var domainCourant = urlCourante.split('/');

var playerBase = "http://webservice.canal-plus.com";
var playerVars = {
	videoId:'0',
	param:'overseas'}; 	
              
var playerParams = { bgcolor: '#000000', menu: 'true', allowFullScreen:'true', allowScriptAccess: "always", wmode:'opaque'};

var playerAttributes = { id:'CanalPlayerEmbarque', name:'CanalPlayerEmbarque' }; 
	 

/* Tailles standards du player :
12	        large 16/9 : 640x360
13	        large 4/3 : 640x480
14	        small 16/9 : 480x270
15	        small 4/3 : 480x360
16	*/
/*var widthPlayer = "640";
var heightPlayer = "360";

var vars = {
videoId : 'ID_VIDEO_A_COMPLETER',
param :'overseas'   
};
  
var attributes = { id:'CanalPlayerEmbarque', name:'CanalPlayerEmbarque' };
swfobject.embedSWF('http://player.canalplus.fr/site/flash/player.swf', 'div_player', widthPlayer, heightPlayer, '9.0.28', 'http://player.canalplus.fr/common/flash/expressinstall.swf', vars, {bgcolor: '#000000', menu: 'true', allowFullScreen:'true', allowScriptAccess:'always', wmode:'opaque'}, attributes);

  */      

