How can i hide play again button at the end?
Thanks
Thanks
<!-- include latest Flowplayer javascript file -->
<script language="javascript" src="path/to/flowplayer-3.2.8.js"></script>
<!-- player container with optional splash image -->
<a href="path/to/video_file" id="playerContainer">
<img src="path/to/splash_image" />
</a>
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.11.swf",{
clip: {
onBegin: function () {
// make play button (re)appear
this.getPlugin("play").css({opacity: 1});
},
onFinish: function () {
// hide play again button
this.getPlugin("play").css({opacity: 0});
}
}
});
</script>