0
votes

Set the position of control bar on web-based flash video player

posted August 12, 2009 - 11:00pm
Set the position of control bar on web-based flash video player

Sometimes you may want to put the control bar on the top but not on the bottom of the flash video player to match your website style. Now you can do it easily. Moyea web player supports to set the position of control bar with few clicks.

There are two ways to implement the above demo: one is with Moyea Web Player, the other one is with flashvars code.

With Moyea Web Player:

1. Go to Template -> Options.

2. Push down Skin settings, and set the Player align as bottom or top.

With flashvars code:
To implement the demo above with flashvars code, the embed code as below:

<script type="text/javascript" src="swfobject.js"></script>
<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=playerAlign*top*s'); so.write("flashcontent"); </script>

The line of the red code is the flashvars code for configuring the position of player control bar.

Sometimes you may want to put the control bar on the top but not on the bottom of the flash video player to match your website style. Now you can do it easily. Moyea web player supports to set the position of control bar with few clicks.

There are two ways to implement the above demo: one is with Moyea Web Player, the other one is with flashvars code.

With Moyea Web Player:

1. Go to Template -> Options.

2. Push down Skin settings, and set the Player align as bottom or top.

With flashvars code:
To implement the demo above with flashvars code, the embed code as below:

<script type="text/javascript" src="swfobject.js"></script>
<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=playerAlign*top*s'); so.write("flashcontent"); </script>

The line of the red code is the flashvars code for configuring the position of player control bar.



Comments

Post new comment

  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text. URLs will automatically be converted to links.
  • Allowed HTML tags: <p> <br> <b> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <span> <object> <param> <embed> <table> <tr> <td> <div>
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

Join Xomba Today

Do you like to write? Would you like to make a little extra money on the side? These people do. Join the Xomba community today.
Become a Member