/*
$(function(){
	$(".action-playVideo").click(function() {
		var parent = $(this).closest(".videoContainer");
		var videoHTML = "<iframe width='574' height='318' src='http://www.youtube.com/embed/48NrJeCblOA?rel=0&autohide=1&autoplay=1&hd=1&wmode=opaque' frameborder='0' allowfullscreen id='vidIframe'></iframe>";

		parent.find(".cover").hide();
		parent.find(".video").show();
		parent.find(".video").html(videoHTML);
	});
});		
*/


function playSlideVideo(videoId,targetContainerId)
{
	var parent = $(targetContainerId).closest(".videoContainer");
	var videoHTML = "<iframe width='574' height='318' src='http://www.youtube.com/embed/"+videoId+"?rel=0&autohide=1&autoplay=1&hd=1&wmode=opaque' frameborder='0' allowfullscreen id='vidIframe'></iframe>";
	parent.find(".cover").hide();
	parent.find(".video").show();
	parent.find(".video").html(videoHTML);
}

