Blog | Sitemap | Forum

Bookmark using any bookmark manager!

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

Hide Volume Adjustment Bar

Volume adjustment bar is a voice bar which has the capability of controlling video voice. Player users could lower or raise video voice by moving it leftward or rightward. And the web player generated by PlayerDIY Web Player in default has this bar on control bar. However, PlayerDIY Web Player also offers solutions for users to hide this bar. Below are the examples about how to hide Volume adjustment bar with PlayerDIY Web Player and with flashvars code.

The demo without volume adjustment bar on control bar:


  • PlayerDIY Web Player
  • Flashvars Code

Customizing flash video player without volume adjustment bar on control bar with PlayerDIY Web Player, all you need to do is checking the “Hide volume adjustment bar” option on the following interface.

To hide the volume adjustment bar of a player, you just need to insert a line of flashvars code into its embed code and, after get the 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=noVolumeBar*true*b');
so.write("flashcontent");
</script>

The line of the red code is the flashvars code for hiding the volume adjustment bar. Get more information about flashvars code.

Configuration