Blog | Sitemap | Forum

Bookmark using any bookmark manager!

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

Automatically load video or not

The demo which will load video automatically, please pay attention to the “playing process bar”:

The demo won't load video automatically:

The example about how to implement above demos in different way:

  • PlayerDIY Web Player
  • Flashvars Code

The configurations about whether your customized web player loads flash video automatically or not, can be configured on the following interface.

When the “Auto load” option is checked, the flash video in the web player will be loaded automatically once the web page is opened, otherwise, it won’t be loaded until click the Play button.

To implement the first 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=autoLoad*true*b');
so.write("flashcontent");
</script>

The line of the red code is the flashvars code for making the player load video automatically. If playerOpts=autoLoad*false*b, the player will not load video automatically. Get more information about flashvars code.

Configuration