
$(document).ready(function() {
	//var url = this_video_url.replace(/ /ig, "%20");
	flowplayer("player", "player/flowplayer.commercial-3.2.7.swf", {
  	key: '#@bae3057e688d731923a',
		
		
		
    clip: { 
      url: this_video_url,
			scaling: "orig",
      provider: 'rtmp',
			autoPlay : false,
			autoBuffering : true,
			// track start event for this clip
			
			onCuepoint : [[200], function() { 
				// Adding a tripwire here prevents it from happening twice.
				// It only loads once, muted, to get the first frame image.
				// NOTE: the pause/stop combo is *required*. It's flaky otherwise.
				//if ( !this.tripwire ) { 
					//this.pause(); this.stop(); this.unmute(); 
					//this.tripwire = true;
				//}
			}]
		}, 

    plugins: { 
    	rtmp: { 
        url: 'flowplayer.rtmp-3.2.3.swf', 
        netConnectionUrl: 'rtmp://fss28.streamhoster.com/chet_holmes'
		},
		
		gatracker: {
            url: "flowplayer.analytics-3.2.2.swf",
            
            // track all possible events. By default only Start and Stop 
            // are tracked with their corresponding playhead time.
            events: {
            	all: true
            },
            debug: false,
            accountId: "UA-27239457-1" // your Google Analytics id here
        }
	 } 
  });
	
}); // end on document ready

