The Encoder generates default appletsThe Clipstream Audio Encoder by default will generate a web page that contains a Java applet: lines of web code that instruct Clipstream Audio what files to play and in what manner. In order to adjust how these play you must edit the code.
About ParametersClipstream Audio options (also called "switches") are controlled through applet lines called parameter lines. You can find them within the applet code by scrolling down and indentifying any line beginning with:
<PARAM and ending with the tag close >
An entire parameter line looks like this:
<PARAM NAME="AutoPlay" VALUE="false">
The NAME indicates what parameter it is switching and the VALUE indicates how that parameter is switched. Parameter lines only work with Clipstream if they are within the applet tags.To adjust an existing parameter, change the value. Follow the example below to do this for AutoPlay.
- Find an existing Clipstream Audio applet code in the source.
- Scroll down to the AutoPlay parameter.
<PARAM NAME="AutoPlay" VALUE="false">
- Block out the word "false" between the quotations and type "true".
It should now look like this:
<PARAM NAME="AutoPlay" VALUE="true">
- Save the page and view it in your browser.
Once the page loads you should hear the audio file.Deleting a parameter
You can add a new parameter by simply pasting a new parameter line anywhere among the existing parameters lines.
- Scroll down to the AutoPlay parameter.
<PARAM NAME="AutoPlay" VALUE="false">
- Block out and delete the entire line
-or-
comment it out like this:
<!-- PARAM NAME="AutoPlay" VALUE="false" -->
Note: Commenting means that you are telling the browser to ignore this line of code. You do this so that you have the option of activating that line in the future by removing the !-- and --.
- Save the file and open it up in your browser.
By default the audio will play. This is because by default Clipstream Audio wants to automatically play its files. By removing that parameter (which was set to false) you are removing that instruction not to play it automatically.Adding a new parameter
You can add a new parameter by simply typing in (or pasting) a new parameter line anywhere among the existing parameters lines.
- Go to any point after a PARAM line. Press ENTER to create a new line.
- Type the following (or paste it from another applet):
<PARAM NAME="AutoPlay" VALUE="false">
- Save the file and open it up in your browser.
Once the page loads the audio will not play unless the user specifically chooses to click the play button on the applet.Choosing from existing parameters
Now that you know how to adjust, delete and add new parameters, please look at the page of existing parameters to see all the different ways you can control the way Clipstream Audio will play from your web page.
| clipstream.com :: copyright © destiny media technologies, inc. | support | investors | broadcast internet radio | ![]() |
|
|