 |
|
 |
Appearance Scripts
The scripts can be downloaded here :
SP Appearance Scripts - Display scripts (skin, buffer color, background color)
StreamPlugLoadSkin(url,name)
As the name indicates, this script is used to point SP to a specific skin, overriding the default one.
Example :
<body onLoad=StreamPlugPlayUrl("http://www.yoursite.com/movie01.ogm"); StreamPlugLoadSkin(http://www.yoursite.com/yourskin.cmp, My Custom Skin)>
Note : Tools and complete tutorials on how to create your skins with Streamplug® will be added shortly on this site
StreamPlugSetBufferColor(r,g,b)
As the name indicates, you can override the default color of the buffers with this command. Colors are defined in RGB values (black = 0,0,0).
Example
:
<body onLoad=StreamPlugPlayUrl("http://www.yoursite.com/movie01.ogm"); StreamPlugLoadSkin(http://www.yoursite.com/yourskin.cmp, My Custom Skin); StreamPlugSetBufferColor (0,0,0) >
Note : Due to its particular nature, the default skin of SP v1.07 to v1.09 cannot be changed with this script. Only the 'oldskool" skin will be affected if you use this script (launch SP, go to options/skins/type1).
StreamPlugSetBKColor(r,g,b)
BK in this script stands for background. It is the script used to change the color of a streamplug window. The values are RGB values (black = 0,0,0).
Example :
<body onLoad=StreamPlugPlayUrl("http://www.yoursite.com/movie01.ogm"); StreamPlugLoadSkin(http://www.yoursite.com/yourskin.cmp, My Custom Skin); StreamPlugSetBufferColor (9,9,5); StreamPlugSetBKColor(0,0,0)>
|
|
|
|
|