function embedMMPlay3Player(mediaId, imgurl) {
if(imgurl) {
			flowplayer("player"+mediaId, "http://www.mediamelon.com/MediaMelon/flowplayer/flowplayer.swf", {
				 plugins: { 
				controls: { 
			url: 'http://mediamelon.com/demo/p3lplayer.controls-tube.swf',
			bufferGradient: 'none',
			timeBgColor: '#262626',
			sliderGradient: 'none',
			buttonColor: '#000000',
			volumeSliderColor: '#4B6085',
			progressGradient: 'none',
			timeColor: '#4B6085',
			backgroundGradient: 'high',
			buttonOverColor: '#4B6085',
			volumeSliderGradient: 'none',
			tooltipColor: '#FFFFFF',
			borderRadius: '0',
			sliderColor: '#4B6085',
			backgroundColor: '#929292',
			tooltipTextColor: '#000000',
			durationColor: '#ffffff',
			bufferColor: '#b2bccd',
			progressColor: '#4B6085',
			stop:true,
			autoHide: 'always',
			hideDelay:3000,
			height: 26,
			opacity: 1.0
        		},
			multisourcing: { 
			url: 'http://www.mediamelon.com/swf/multisourcing.swf', 
			mmId:mediaId 
			},
			splash: {  
				url:'http://www.mediamelon.com/MediaMelon/flowplayer/flowplayer.content-3.0.1.swf',
				top: 0, left:0,
				width:'100%', 
				height:'100%',
				html:'<img src="'+imgurl+'" vspace="0" hspace="0" width="608px" height="342px" />',background: '#000000', backgroundGradient: 'none', borderRadius: 0, border: 0, opacity:1,zIndex:0,style: { border: '0px',padding: '0px',margin: '0px'} 
			} 
		},
contextMenu: [  
        'Play3-Live Player 1.0.0'
    ],

	           play: {
			url: 'http://www.play3-live.com/images/bouton_player.png',
 			width: 95,
 			height: 87
 		    },  
 logo: {
 url: 'http://www.play3-live.com/images/watermark400.png',
 fullscreenOnly: false,
 bottom: 35,
 right: 10
 },
 // gradually show on mouseover
 onMouseOver: function() {
 this.getPlugin("logo").fadeTo(0.5, 1000);
 },

 // gradually hide on mouseout
 onMouseOut: function() {
 this.getPlugin("logo").fadeTo(0, 1000);
 }, 
				canvas: {
					backgroundGradient: 'none',
					backgroundColor: '#000000'
				},
				// clip properties  
				clip: { 
					url: '',
					provider: 'multisourcing',                 
					scaling:'fit',
					autoPlay: false,
					onStart: function(){
						this.getPlugin('splash').css({ opacity:0, background: '#000000', backgroundGradient: 'none' });
					}
				}
			});

} else {
		flowplayer("player"+mediaId, "http://www.mediamelon.com/MediaMelon/flowplayer/flowplayer.swf", {
				 plugins: { 
				controls: { 
			url: 'http://mediamelon.com/demo/p3lplayer.controls-tube.swf',
			bufferGradient: 'none',
			timeBgColor: '#262626',
			sliderGradient: 'none',
			buttonColor: '#000000',
			volumeSliderColor: '#4B6085',
			progressGradient: 'none',
			timeColor: '#4B6085',
			backgroundGradient: 'high',
			buttonOverColor: '#4B6085',
			volumeSliderGradient: 'none',
			tooltipColor: '#FFFFFF',
			borderRadius: '0',
			sliderColor: '#4B6085',
			backgroundColor: '#929292',
			tooltipTextColor: '#000000',
			durationColor: '#ffffff',
			bufferColor: '#b2bccd',
			progressColor: '#4B6085',
			stop:true,
			autoHide: 'always',
			hideDelay:3000,
			height: 26,
			opacity: 1.0
        		},
			multisourcing: { 
			url: 'http://www.mediamelon.com/swf/multisourcing.swf', 
			mmId:mediaId 
			}  

				},
contextMenu: [  
        'Play3-Live Player 1.0.0'
    ],

	           play: {
			url: 'http://www.play3-live.com/images/bouton_player.png',
 			width: 95,
 			height: 87
 		    },  
 logo: {
 url: 'http://www.play3-live.com/images/watermark400.png',
 fullscreenOnly: false,
 bottom: 35,
 right: 10
 },
 // gradually show on mouseover
 onMouseOver: function() {
 this.getPlugin("logo").fadeTo(0.5, 1000);
 },

 // gradually hide on mouseout
 onMouseOut: function() {
 this.getPlugin("logo").fadeTo(0, 1000);
 }, 
				canvas: {
					backgroundGradient: 'none',
					backgroundColor: '#000000'
				},
				// clip properties  
				clip: { 
					url: '',
					provider: 'multisourcing',                 
					scaling:'fit',
					autoPlay: false
				}
			});

}
}

