<script>
flowplayer("player", "/flowplayer/flowplayer.swf", { // supply the configuration
clip: { // Clip is an object, hence '{...}'
autoPlay: false,
autoBuffering: true,
baseUrl: 'http://stream.flowplayer.org/'
},
playlist: [ // playlist is an array of Clips, hence [...]
'KimAronson-TwentySeconds58192.flv', // simple playlist entry: video
'KimAronson-TwentySeconds59483.flv',
{ // small object as entry
url: "/media/data/fake_empire.mp3",
duration: 25
}
],
plugins: { // load one or more plugins
controls: { // load the controls plugin
// always: where to find the Flash object
url: 'http://releases.flowplayer.org/swf/flowplayer.controls-tube-3.2.10.swf',
// now the custom options of the Flash object
playlist: true,
backgroundColor: '#aedaff',
tooltips: { // this plugin object exposes a 'tooltips' object
buttons: true,
fullscreen: 'Enter Fullscreen mode'
}
}
},
// set an event handler in the configuration
onFinish: function() {
alert("Click Player to start video again");
}
});
</script>
<div id="player" style="display:block;width:425px;height:300px;"></div>
- videotest.txt
- 最后更改: 2012/05/14 14:57
- (外部编辑)