Hide Playing Process Bar
In default, the web player generated with PlayerDIY Web Player has a process bar on control bar, and this bar could move during the video playing to show how long the video has been played. However, if you don’t want to show the process bar on your web player, you could hide it in two easy ways. Here, below are two examples about how to hide the process bar: 1. Customizing a player has no process bar with PlayerDIY Web Player; 2. Inserting a line of flashvars code into the embed code of a player.
The demo without the Hide playing process bar showing on control bar:
- PlayerDIY Web Player
- Flashvars Code
With flashvars code to hide the process bar, the embed code would 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=noProcBar*true*b');
so.write("flashcontent");
</script>
The line of the red code is the flashvars code for hiding the process bar. 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