Embedding Clipstream™ Audio 3 in a custom page
You can copy a link to a Clipstream™ Audio 3 clip into any web page. The clip will play providing you have linked the needed files correctly.

Requirements:
  • Encoded Clipstream Audio .csa files
  • An FTP or web development program
  • Access to a remote web server

Locate an existing .js link

The Clipstream™ Audio Encoder will generate a default web page, a separate javascript .js file and other required files. Locate the .js file by finding that code on the .html page.
  1. Open up an existing web page with a clip embedded in it
  2. View the source on that page. In IE and Firefox, right-click on any blank space on the page and select view source.


    A page of code will appear.
  3. Scroll down the code until you find a .js link such as:

  4. This tells you the name and the location of the .js file you need.

Copy and paste the .js link

  1. Highlight the .js link code and copy it (CTRL-C).
  2. Open the web page you wish the clip to play in
  3. Locate the spot on the page where you want the clip to appear
  4. Paste the .js link in that spot

Adjust the applet code to link correctly to the needed files

In order for the Clipstream Audio clip to play correctly on your web server you may need to edit links within the .js file for common files and the encoded audio files themselves.

NOTE: If you are not planning on displaying more than one applet on your server, you can avoid linking issues by simply uploading the entire contents of the generated folder to your webserver. By default, all files will be linked to in that folder from the default generated applet.

If you intend to move files around your webserver, you can change the links so that they are relatively linked or absolutely linked.

ex.
Relative link:
<param name="AudioStreamURL" value="audio/Track05.csa">

-or-

Absolute link:
<param name="AudioStreamURL" value="http://www.clipstream.com/test/audio/Track05.csa">

To find out what files are linked from the applet, please refer to Essential Clipstream™ Audio 3 files.


clipstream.com :: copyright © destiny media technologies, inc. | support | investors | broadcast internet radio