Configuration doc about how to set to show or hide replay button of flash video player When the video plays to the end, you may want to add a Replay Button to your web Flash video player for visitors to watch your video again. Moyea Web Player supports to customize web player with reply button by few clicks. And you could also type the character you want to show in the replay button. About Moyea Web Player: Moyea Web Player is an easy-to-use FLV player creator, with which, customizing skinning streaming FLV player and FLV player (flash video player) for website only needs a few mouse-clicks. And the created player can be easily edited via flashvars code. Implement in two easy ways: Via Moyea Web Player: 1. Go to Template -> Options 2. Push down Replay settings. Check Show replay, and type the character you want to show on the replay button. Default value is Replay. http://www.playerdiy.com/images/skin/replay-button1.jpg Please note: If uncheck both Show replay and Pause at first frame (or Pause at last frame), the screen will return to the first frame of the video after the video plays to the end. http://www.playerdiy.com/images/skin/replay-button2.jpg Via Flashvars Code: To implement the above demo with flashvars code, the embed code will be as below: [code]<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript"> var so = new SWFObject('mwplayer.swf','player','500','450','9'); so.addParam('wmode','opaque'); so.addParam('quality','high'); so.addParam('allowfullscreen','true'); so.addParam('allowscriptaccess','always'); so.addParam('flashvars','playerOpts=showReplay*true*b||textReplay*Replayer*s'); so.write("flashcontent"); </script>[/code] The line of the red code is the flashvars code for getting the replay button. Get more information about flashvars code. Source is http://www.playerdiy.com/configuration/skins/show-replay-button.html