DOWNLOADS EXAMPLES SKINS DOCS SUPPORT
 
 

Skin String vs Config Option

A skin string is simply a convenient way to lump all of the style related options into a single option (waspSkin). However,  skin objects may also be defined individually (rather than using a skin string). To define an object individually, add the identifier to the HTML, XML or Javascript code that configures the player.

For example, to adjust the way the volume toggle button looks, we can add the "sm" option directly to our "config" code as:

sm = 1|3|23|FFFFFF|FFFFFF|FFFFFF

 

Rendering with Javascript:

<!-- START WIMPY PLAYER CODE -->
<div id="wimpyTarget0803220220"><a href="http://www.adobe.com/products/flashplayer/">Flash Player upgrade required</a></div>
<script language="javascript">
// <![CDATA[
var wimpyConfigs0803220220 = new Object();
wimpyConfigs0803220220.waspSwf="http://www.yoursite.com/media/wasp.swf";
wimpyConfigs0803220220.pageColor="000000";
wimpyConfigs0803220220.fp="http://www.yoursite.com/media/example.html";
wimpyConfigs0803220220.f="http://www.yoursite.com/media/example.flv";
wimpyConfigs0803220220.me="0";
wimpyConfigs0803220220.ph="158";
wimpyConfigs0803220220.pw="210";
wimpyConfigs0803220220.sm="1|3|23|FFFFFF|FFFFFF|FFFFFF";
wimpyConfigs0803220220.waspSkin="sh_1|||B8B...etc...";
makeWimpyPlayer(wimpyConfigs0803220220, "wimpyTarget0803220220", "wasp0803220220");
// ]]>
</script>
<!-- END WIMPY PLAYER CODE -->

Rendering with HTML:

<!-- START WIMPY PLAYER CODE -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="480" height="295" id="wasp0803183550" align="center">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="http://www.yoursite.com/media/wasp.swf" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="000000" />
<param name="flashvars" value="f=http://www.yoursite.com/media/example.flv&sm=1|3|23|FFFFFF|FFFFFF|FFFFFF" />
<embed src="http://www.yoursite.com/media/wasp.swf" flashvars="f=http://www.yoursite.com/media/example.flv&sm=1|3|23|FFFFFF|FFFFFF|FFFFFF" loop="false" menu="false" quality="high" width="480" height="295" scale="noscale" salign="lt" name="wasp0803183550" align="center" bgcolor="000000" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<!-- END WIMPY PLAYER CODE -->

Rendering with external Configs file:

<wimpyConfigs version="2.0">
  <fp>example.html</fp>
  <sm>1|3|23|FFFFFF|FFFFFF|FFFFFF</sm>
  <ou></ou>
  <ww></ww>
  <wu></wu>
  <lw></lw>
  <lu></lu>
  <fa></fa>
  <fk></fk>
  <tl></tl>
  <vo></vo>
  <im></im>
  <hz>Share</hz>
  <hf>Full%20Screen</hf>
  <hs>Time%20Line</hs>
  <hv>Volume</hv>
  <hl>Link%20to%20More%20Info</hl>
  <hi>Help</hi>
  <hk>Rewind</hk>
  <hu>Pause</hu>
  <hy>Play</hy>
  <hp>Play%20%2F%20Pause</hp>
  <r></r>
  <tf>1</tf>
  <b>15</b>
  <v>100</v>
  <f>04.flv</f>
  <a>1</a>
  <pageColor>000000</pageColor>
  <me>0</me>
  <s>1</s>
  <l>0</l>
  <h>1</h>
  <oc></oc>
  <la></la>
  <wa>1</wa>
  <wm>1</wm>
  <vd></vd>
  <cl>1</cl>
  <ph>260</ph>
  <pw>356</pw>
  <waspJS>wasp.js</waspJS>
  <waspSwf>wasp.swf</waspSwf>
</wimpyConfigs>

 

 

 

 

 

  ©Copyright Plaino LLC. All rights reserved.