Configure to hide or show the playlist icon of web flash video player with playerdiy.com
posted August 25, 2009 - 11:54pmThe web flash video player generated with Moyea Web Player in default has a playlist icon on control bar, with which you could check the playlist at any time, no matter what is the setting about the playlist (When the value of “video list style” is none, playlist icon won’t show on control bar).
However, if don’t like the playlist could be checked at any time, you could choose to use a player skin which has no playlist icon on control bar, or just hide the playlsit icon.
There are two easy ways are available to hide the playlist icon: 1. customzing a player has no playlist icon with Moyea Web Player; 2. Inserting a line of flashvars code into the embed code of a existed player.
1. With Moyea Web Player
Hiding playlist icon on control bar with Moyea Web Player is very simple to achieve, all you need to do is checking the “Hide playlist button” option on the following interface.
![]()
2. With Flashvars Code
With flashvars code to hide the playlist icon, 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=noWatchBtn*true*b');
so.write("flashcontent");
</script>
The line in bolded is the flashvars code for hiding the playlist icon.

Comments
Post new comment