Configure flash video player to replay a specific video automatically It's simple to make your web video player gets the capability of auto-replaying a video. Here, there are two ways are available: 1. Using Moyea Web Player ( ); 2. Using flashvars code. 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. The official website is: Using Moyea Web Player: With Moyea Web Player, all you need to do is checking the "Auto rewind" option on the following interface of Moyea Web Player. (The default setting is not checked and the flash video player won't replay video automatically). It's also very simple to make web player replaying all videos in playlist automatically. Using flashvars code: To implement the demo above 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=autoRewind*true*b'); so.write("flashcontent"); </script>[/code] The line of the red code is the flashvars code for making the player replaying a video automatically. Get more information about flashvars code. Source is