Blog | Sitemap | Forum

Bookmark using any bookmark manager!

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

Set the default volume value

The default volume value of web player is the volume showed when videos been loaded for the first time. With PlayerDIY Web Player, you could set the default volume value on the control bar as you like. Possible values range from 0 to 100.

The demo whose volume value is 30:


Implement the demo above in two easy ways:

  • PlayerDIY Web Player
  • Flashvars Code

1. Go to Template, choose Options tab.

2. Push down Skin settings, and set the value of Volume to be 30 .

To implement the above demo 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');

The line of the red code is the flashvars code for setting the volume value. Get more information about flashvars code.