
$f("player", "http://www.just4smiles.ch/wp-content/themes/j4s/player/flowplayer.commercial-3.1.5.swf", {

onFinish: function() { 
  $("div.link_message").fadeIn(1000);
},

onFinish: function() { 
  $("div.link_message").fadeIn(1000);
},

onResume: function() { 
  $("div.link_message").fadeOut(1000);
},

onStart: function() { 
  $("div.link_message").fadeOut(1000);
},

onBegin: function() { 
  $("div.link_message").fadeOut(1000);
},

// product key
key: '#$922197cacf2a107358f',

clip:{
autoBuffering: true
},

plugins: {
   controls: {
      sliderGradient: 'none',
      durationColor: '#ffffff',
      progressColor: '#B0A67A',
      progressGradient: 'medium',
      timeColor: '#ffffff',
      volumeSliderGradient: 'none',
      bufferColor: '#B0A67A',
      timeBgColor: '#555555',
      tooltipTextColor: '#ffffff',
      bufferGradient: 'none',
      backgroundColor: '#222222',
      buttonColor: '#B0A67A',
      backgroundGradient: 'low',
      volumeSliderColor: '#000000',
      borderRadius: '5',
      sliderColor: '#000000',
      tooltipColor: '#5F747C',
      buttonOverColor: '#999999',
      height: 24,
      opacity: 1.0,
      autoHide: 'always',
      hideDelay: 1000
   }
},

canvas: { 
   backgroundColor: '#ffffff', 
   backgroundGradient: 'none' 
},

play: { 
 
 
    // label text; by default there is no text 
    label: null, 
 
    // label text at end of video clip 
    replayLabel: 'Rejouer',
    
    opacity: 0 
 
},
    
	// context menu
	contextMenu: [
		'Just for Smiles'
	]

});

