/*! jQuery Countdown Plugin
* Copyright Tom Ellis http://www.webmuse.co.uk
* Licensed under MIT License
* See http://www.webmuse.co.uk/license/
*/
(function($) {
   
	jQuery.fn.capicaflowplayer = function( options ) {  
	
		var defaults = {
			key: false
		};
	 
		   
		var opts = $.extend( {}, defaults, options );
	   
		return this.each(function(ind) {
			ap = $(this).attr("autoplay");
			ap = ap == "true" ? true : false;
			
			elm = $(this).get(0);
			$f(elm, {
				src:"/flowplayer/flowplayer.commercial-3.2.7.swf"
			    , clip:  {
			          url: elm.href
			        , autoPlay: ap
			        , autoBuffering: true
			    }
			}).load();
			
			
		});
	};
       
})(jQuery);
