// OCTUBRE 2009 JAVASCRIPT PARA PLAYER AUDIO FLOWPLAYER FLASH

// JavaScript Document

// a- tags with class "myPlayer" are transformed into video players
//  flowplayer("a.myPlayer", "/flowplayer/flowplayer-3.1.4.swf");

// crea containers para los videos definidos arriba
flowplayer("div.player", "/flowplayer/flowplayer-3.1.5.swf",{
	
	clip:{ 
	onFinish: function() { this.stop(); },
	autoPlay: false, 
	autoBuffering: true,
	scaling: 'fit',
	seekableOnBegin: true,
	metaData: false,
	bufferLength: 4,
	accelerated: true,
fadeInSpeed:0

	}

});



// install flowplayer into container 
$f("audio", "/flowplayer/flowplayer-3.1.5.swf", { 
 
    // fullscreen button not needed here 
    plugins: { 
        controls: { 
            fullscreen: false, 
            height: 30 
        }, 
 
        audio: { 
            url: '/flowplayer/flowplayer.audio-3.1.2.swf' 
        } 
    }, 

    clip: { 
        autoPlay: false, 
 
        // optional: when playback starts close the first audio playback 
        onBeforeBegin: function() { 
            $f("div.player").close(); 
        } 
    } 
 
});



//<script>// a- tags with class "myPlayer" are transformed into video players
//  flowplayer("a.myPlayer", "/flowplayer/flowplayer-3.1.4.swf");

// install flowplayer into container 
$f("audio2", "/flowplayer/flowplayer-3.1.5.swf", { 
 
    // fullscreen button not needed here 
    plugins: { 
        controls: { 
            fullscreen: false, 
            height: 30 
        }, 
 
        audio: { 
            url: '/flowplayer/flowplayer.audio-3.1.2.swf' 
        } 
    }, 

    clip: { 
        autoPlay: false, 
 
        // optional: when playback starts close the first audio playback 
        onBeforeBegin: function() { 
            $f("div.player").close(); 
        } 
    } 
 
});


//<script>// a- tags with class "myPlayer" are transformed into video players
//  flowplayer("a.myPlayer", "/flowplayer/flowplayer-3.1.4.swf");

// install flowplayer into container 
$f("audio3", "/flowplayer/flowplayer-3.1.5.swf", { 
 
    // fullscreen button not needed here 
    plugins: { 
        controls: { 
            fullscreen: false, 
            height: 30 
        }, 
 
        audio: { 
            url: '/flowplayer/flowplayer.audio-3.1.2.swf' 
        } 
    }, 

    clip: { 
        autoPlay: false, 
 
        // optional: when playback starts close the first audio playback 
        onBeforeBegin: function() { 
            $f("div.player").close(); 
        } 
    } 
 
});



//<script>// a- tags with class "myPlayer" are transformed into video players
//  flowplayer("a.myPlayer", "/flowplayer/flowplayer-3.1.4.swf");

// install flowplayer into container 
$f("audio4", "/flowplayer/flowplayer-3.1.5.swf", { 
 
    // fullscreen button not needed here 
    plugins: { 
        controls: { 
            fullscreen: false, 
            height: 30 
        }, 
 
        audio: { 
            url: '/flowplayer/flowplayer.audio-3.1.2.swf' 
        } 
    }, 

    clip: { 
        autoPlay: false, 
 
        // optional: when playback starts close the first audio playback 
        onBeforeBegin: function() { 
            $f("div.player").close(); 
        } 
    } 
 
});



//<script>// a- tags with class "myPlayer" are transformed into video players
//  flowplayer("a.myPlayer", "/flowplayer/flowplayer-3.1.4.swf");

// install flowplayer into container 
$f("audio5", "/flowplayer/flowplayer-3.1.5.swf", { 
 
    // fullscreen button not needed here 
    plugins: { 
        controls: { 
            fullscreen: false, 
            height: 30 
        }, 
 
        audio: { 
            url: '/flowplayer/flowplayer.audio-3.1.2.swf' 
        } 
    }, 

    clip: { 
        autoPlay: false, 
 
        // optional: when playback starts close the first audio playback 
        onBeforeBegin: function() { 
            $f("div.player").close(); 
        } 
    } 
 
});



//<script>// a- tags with class "myPlayer" are transformed into video players
//  flowplayer("a.myPlayer", "/flowplayer/flowplayer-3.1.4.swf");

// install flowplayer into container 
$f("audio6", "/flowplayer/flowplayer-3.1.5.swf", { 
 
    // fullscreen button not needed here 
    plugins: { 
        controls: { 
            fullscreen: false, 
            height: 30 
        }, 
 
        audio: { 
            url: '/flowplayer/flowplayer.audio-3.1.2.swf' 
        } 
    }, 

    clip: { 
        autoPlay: false, 
 
        // optional: when playback starts close the first audio playback 
        onBeforeBegin: function() { 
            $f("div.player").close(); 
        } 
    } 
 
});




