


function displayVideo(videoDetails) {

  var swf_id = 'moogaloop';
  var moogaloop = new Swiff('http://vimeo.com/moogaloop.swf', {
    id: swf_id,
    container: 'vimeo_player_holder',
    width: videoDetails.width,
    height: videoDetails.height,
    params: { allowfullscreen: 'true' },
    vars: {
      clip_id: videoDetails.id,
      show_portrait: 0,
      show_byline: 0,
      show_title: 0,
      fullscreen: 1,
      autoplay: videoDetails.autoStart,
      js_api: 1, // required in order to use the Javascript API
      js_swf_id: 'moogaloop' // this will be passed into all event methods so you can keep track of multiple moogaloops (optional)
    }
  });

  
  $('#video_details').show();
  $('#video_details_client').text(videoDetails.client);
}

function displayBio() {
	$('#video_details_bio').toggle();
}

