Automatically replay all videos in playlist as loop
The demo which replays videos in playlist over and over again:
PlayerDIY Web Player offers two easy ways to implement the capability of repeating videos in playlist: 1. Using PlayerDIY Web Player; 2. Using flashvars code.
- PlayerDIY Web Player
- Flashvars Code
With PlayerDIY web player,all you need to do is checking the “Auto rewind” and “Auto choose next” options on the follow interface. (On the right of this interface, you can preview the implemented capability right away.)
To implement the demo above with flashvars code, the embed code will be as below:
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent" align="center"></div>
<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||autoChooseNext*true*b');
so.write("flashcontent");
</script>
The line of the red code is the flashvars code for making the player replaying videos in playlist automatically. Get more information about flashvars code.
- Set control-bar color to match website
- Set background color of player
- Set the position of control bar
- Customize Preloader button
- Hide control bar automatically
- Remove the "Embed & URL" Area
- Hide mouse automatically
- Hide playing time
- Hide playlist icon
- Hide previous and next icons
- Hide playing process bar
- Customize right-click menu