Blog | Sitemap | Forum

Bookmark using any bookmark manager!

Customize skinning flash video player for web
Customize flash video player in the easiest way

Automatically play the next video

When you have a list of related videos or a TV series, you may want to configure your web player to get the capability of playing the next video automatically. Have a look at the following demo.

Two easy ways to implement the above demo:

  • PlayerDIY Web Player
  • Flashvars Code

To implement the capability with PlayerDIY Web Player, you just need to check the “Auto choose next” option on the following interface.

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=autoChooseNext*true*b');
so.write("flashcontent");
</script>

The line of the red code is the flashvars code for making the player automatically playing next video. Get more information about flashvars code.

Configuration