/*$(document).ready(function(){

	/*$("div[class='player'] a").click(function(){
	
		var linkToVideo = $(this).attr("href");
		$(this).parent().empty();
		var toAppend = "<a href='" + linkToVideo + "' class='media'>Voir la vidéo</a>"
		$(this).parent().append(toAppend);
		if(typeof $.fn.mediaCatchup == 'function') 
		{
		$("a[class='media']").mediaCatchup({
			width: '384',
			height: '288',
			optionsMedia:{
				autoplay: true,
				caption: false,
				params: { showstatusbar: '1' },
				bgColor: 'black'
				}
			});
		}
		return false;
	
	});

});*/

/*$(document).ready(function() {
	generatePlayerHTML();
	});


//Fonction qui génère le player vidéo HTML
function generatePlayerHTML(){
	if(typeof $.fn.mediaCatchup == 'function') 
		{
		$('.media').mediaCatchup({
			width: '384',
			height: '288',
			optionsMedia:{
				autoplay: true,
				caption: false,
				params: { showstatusbar: '1' },
				bgColor: 'black'
				}
			});
		}
	}*/
