To reproduce:
HTML setup for the player
<!-- include latest Flowplayer javascript file -->
<script language="javascript" src="path/to/flowplayer-3.2.6.js"></script>
<!-- player container with optional splash image -->
<a href="path/to/video_file" id="playerContainer">
<img src="path/to/splash_image" />
</a>
JavaScript coding
Following script will install Flowplayer into our player container
<script language="javascript">
// our custom configuration is given in third argument
flowplayer("playerContainer", "path/tohttp://releases.flowplayer.org/swf/flowplayer-3.2.7.swf",{
clip: {
onStop: function () {
this.unload();
}
},
plugins: {
controls: {stop: true}
}
});
</script>
See also this post.