Configure to hide the control bar of web flash video player

Posted by Anonymous March 10, 2010 - 4:05am

The control bar of the web player generated by Moyea Web Player in default will always show during the video playing. But it's available to configure a flash video player whose control bar will hide automatically during video playing.

About Moyea Web Player:
Moyea Web Player is a Flash video player creator. With it, you can easily make customized Flash video player with playlist and full screen features for website.
Tutorial is here:
http://www.playerdiy.com/support/tutorial/customize-flash-video-player.html
Customize the skin and playback options of web FLV player:
http://www.playerdiy.com/configuration/

There are two ways are available to implement this: 1. Customzing with Moyea Web Player; 2. Inserting a line of flashvars code into the embed code of an existed player.

1. Customzing with Moyea Web Player
With Moyea Web Player, all need to do is checking the "Player auto hide" option on the following interface, when customize the FLV player. And set 2 as the value of the "Hide delay" option.

2. Inserting a line of flashvars code into the embed code of an existed player
To implement the above demo with flashvars code, the embed code would be like 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=playerAutoHide*true*b||hideDelay*2000*i');
so.write("flashcontent");
</script>

Get more information about flashvars code.