$f("mySmallPlayer", "/scripts/flowplayer-3.2.1.swf", {

  onBeforeClick: function() {
    $f().unload();
// animate({top:-170, left:-530, width:425, height:298}
    $(this.getParent()).animate({top:-270, left:-680, width:720, height:480}, 500, function() {
      $f(this).load();
    });
    return false;
  }, 

  onUnload: function() {
    $(this.getParent()).animate({top:0, left:0, width:174, height:130}, 500, function() {
    });
  },

  onFinish: function() {
    this.unload();
  },
  onStop: function() {
    this.unload();
  },

  buffering: true,
  "screen": {"height":"100pct","top":0},
  "plugins": {
    "controls": {
      "borderRadius": "0px",
      "timeColor": "#ffffff",
      "bufferGradient": "none",
      "slowForward": true,
      "backgroundColor": "rgba(0, 0, 0, 0)",
      "volumeSliderGradient": "none",
      "slowBackward": false,
      "progressGradient": "medium",
      "time": true,
      "height": 26,
      "tooltips": {
        "marginBottom": 5,
        "volume": true,
        "scrubber": true,
        "buttons": false
      },
      "opacity": 1,
      "fastBackward": false,
      "bufferColor": "#ffffff",
      "border": "0px", 
      "volumeSliderColor": "#000000",
      "buttonColor": "rgba(0, 0, 0, 0.7)",
      "mute": true,
      "autoHide": {
        "enabled":true,
        "hideDelay": 500,
        "mouseOutDelay": 500,
        "hideStyle": "fade",
        "hideDuration": 400,
        "fullscreenOnly": false
      },
      "backgroundGradient": [0,0.2,0.4],
      "width": "100pct",
      "display": "block",
      "buttonOverColor": "#333333",
      "url": "/scripts/flowplayer.controls-air-3.2.0.swf",
      "fullscreen": false,
      "timeBgColor": "rgba(0, 0, 0, 0)",
      "scrubberBarHeightRatio": 0.3,
      "bottom": 0,
      "stop": true,
      "sliderColor": "#cccccc",
      "zIndex": 1,
      "scrubberHeightRatio": 0.6,
      "tooltipTextColor": "#ffffff",
      "sliderGradient": "none",
      "timeBgHeightRatio": 0.7,
      "volumeSliderHeightRatio": 0.4,
      "name": "controls",
      "volumeBarHeightRatio": 1,
      "left": "50pct",
      "tooltipColor": "rgba(0, 0, 0, 0)",
      "playlist": false,
      "durationColor": "#ff3d3d",
      "play": true,
      "fastForward": true,
      "progressColor": "#000000",
      "timeBorder": "1px solid rgba(0, 0, 0, 0.3)",
      "volume": false,
      "scrubber": true,
      "builtIn": false
    }
  }
});

