function play(element, media_url, next, packshot)
{
  var my_clip = {
      autoPlay: true,
      autoBuffering: true
  }

  var my_logo = {
      url: media_url + '/i/logo_label.png',
      top: 20,
      right: 20,
      opacity: 0.5,
      fullscreenOnly: true
  }
  
  var my_plugins = {
    // load one or more plugins 
      controls: {            // load the controls plugin 
			backgroundColor: '#000000',
			buttonColor: '#579407',
			buttonOverColor: '#79bd21',
			bufferColor: '#111111',
			progressColor: '#579407',
			borderRadius: '0px',
			sliderColor: '#000000',
			bufferGradient: 'none',
			volumeSliderColor: '#579407',
			timeColor: '#579407',
			progressGradient: 'medium',
			durationColor: '#CCCCCC',
			backgroundColor: '#000000',
			sliderGradient: 'none',
			timeBgColor: '#000000',
			volumeSliderGradient: 'none',
			controlBarGloss:'none',
			controlBarBackgroundColor:'#000000',
			controlsOverVideo:'ease',
			bufferingAnimationColor:'#444444',
			hideControls:'true',
			showWatermark:'none',
			height: 24,
			opacity: 1.0 
      }
  }
  
  if (packshot) {
      my_clip.playlist = [ 
          // before the parent clip starts (ie. "pre-roll") 
          {
              url: media_url + '/v/uykuyahayir.flv', //'/v/0' + (Math.floor(Math.random()*3) + 1) + '.f4v',
              position: -1
          }
      ]      
  }
  else {
  	my_clip.onFinish =
  		function() { 
  	        // load data from server. supply a few parameters. 
  	        window.location = next;
  	    }
  }
    
  $f(element, {src: media_url + '/swf/flowplayer.commercial-3.1.5.swf', wmode: 'opaque' }, {
    key: '$6af01a72af5a1fce9a5',
    clip: my_clip,
    logo: my_logo,
    plugins: my_plugins
  });  
}