The Leader in Secure Video
Delivery Software
|
|
Creating a Custom Clipstream Audio Interface
The Clipstream Audio button set is actually a
series of separate image files, each corresponding to one of the four
common functions in the Clipstream Audio interface: play, pause,
stop and the logolink button.
Combined, all the image files form a single rectangular interface. Note: It is possible to compose a non-rectangular interface but you must coordinate the background of the page with the background of the button-set. The figure below shows the standardized zones where each button graphic is recognized by the applet.
To change the look of the buttons, all you need to do is create replacement graphics in a graphic creation program like Photoshop. In the figure above, the names of the graphic files are shown but these can be adjusted in the applet code. Creating a button set
In the case of the action buttons, there needs to be an upstate and a downstate for each region (downstate for when the user clicks on it). The developer can specify the height and width of each of the button elements by editing the values in a single line of the Java Applet code. Rules:
To save time and effort, it's best to create them all in one unified document and then cut it up into the separate files. Once you have completed creating these buttons, upload the .gifs to a folder on your remote site. Your.gifs are now ready to be referenced by the Clipstream applet parameter code. Below is a list of the parameters and the interface elements they affect: <param name="ButtonPlayUp" value="playup.gif"> <param name="ButtonPlayOver" value="playdown.gif"> <param name="ButtonPlayBlink" value="playdown.gif"> <param name="ButtonPlayDown" value="playdown.gif"> <param name="ButtonPauseUp" value="pauseup.gif"> <param name="ButtonPauseOver" value="pauseup.gif"> <param name="ButtonPauseDown" value="pausedown.gif"> <param name="ButtonStopUp" value="stopup.gif"> <param name="ButtonStopOver" value="stopup.gif"> <param name="ButtonStopDown" value="stopdown.gif"> <param name="LogoIcon" value="csbottomlogo.gif"> By changing the values in each parameter, you can quickly switch from different versions buttons. For example, if you are editing just the play button upstate graphic, you could upload a playupB.gif (a second version) to the same folder and then change the value of the "ButtonPlayUp" parameter to value="playupB.gif". Enabling / Disabling seek bar <param name="EnableSeek" value="true"> Change the value to "false" to disable the appearance of the seek bar. Even if no graphics are given for the Seek bar, Clipstream Audio provides its own default bar. You must disable it in the parameters. These are the parameters that point to the URL locations of the seek bar graphics: <param name="ButtonSeekBar" value="seekbackground.gif"> <param name="ButtonSeekProgress" value="seekbackground_fill.gif"> <param name="ButtonSeekKnob" value="seekhandle.gif"> Using Relative Paths in referencing graphic files Note: You do not have to include a LogoIcon
button. To exclude it from the applet, just delete any filename
from the value of the LogoIcon parameter and leave the two quotation
marks "". Related articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||
