Go
Not registered? Sign up!

AddOns

Using Skins ( Return to Help Index )

Implementing a Skin on your site involves a simple addition to your existing JW Player HTML code. That's easy, and we'll discuss it in a moment. If you need help with implementing a Plugin, click here.

If it's a Module you're interested in, you're going to have to get that information at each Module's site (linked to from each Module page).

Implementing a Skin

Skins are implemented in very much the same way as Plugins, they just require a different variable. Instead of plugins= , it's now simply skin= . That said, LongTail doesn't host skins, so this time around you'll actually have to download the desired skin package and place the skin's .swf file on an accessible spot on your own server. Once you have that set, you just reference that skin file as shown below:

SWFObject

var so = new SWFObject('http://www.yoursite.com/player.swf','mpl','470','320','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('file', '/upload/flash.flv');
so.addVariable('skin', '/path/to/skinfile/skin.swf');
so.write('player');

SWFObject (alternate form)

var so = new SWFObject('http://www.yoursite.com/player.swf','mpl','470','320','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('file', '/upload/flash.flv');
so.addParam('flashvars', 'skin=/path/to/skinfile/skin.swf');
so.write('player');

Embed Code

<embed
src="http://www.yoursite.com/player.swf"
width="470"
height="320"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=/upload/flash.flv&skin=/path/to/skinfile/skin.swf
"
/>

If you have any questions, feel free to contact us, or head over to the Support Forum.