The Leader in Secure Video Delivery Software
Home

Finding and Viewing Clipstream Audio applet code
In order to edit a Clipstream™ Audio applet you must first be able to identify it on the web page using a web development program or text editor.

Requirements:
  • Existing Clipstream™ Audio encoded files
  • A web development program or text editor
Finding and Viewing the Clipstream™ Audio applet code
To view the applet code on the existing default Clipstream™ Audio web page (or on your own page), do the following:
  1. Open up the default Clipstream™ Audio web page in your web browser.
  2. Right click anywhere on the web page and choose View Source (in the Mac, go the View menu and select Source).



    A text page will open up showing the web code(.html) for that page.
  3. Scroll down (or search for) in that page until you find this line of code:

    <APPLET height=55 alt="Clipstream Audio"
    archive=audioclipstream.zip width=89 code=audioclipstream.class
    name=AudioClipstream MAYSCRIPT>


    This is the beginning of the Clipstream™ Audio Applet.

    By default there are nine lines of code ending in:

    </APPLET>


    All of the code between and including the <APPLET> and </APPLET> tags are what governs how the Applet plays Clipstream™ Audio files.

    You can move the entire applet by copying and pasting everything between and including the applet tags.
Finding and Viewing the Bannerstream
By default, the Clipstream™ Audio encoder will also generate a second applet on the default page that embeds the audio in a graphic banner (called "Bannerstream").

With the code view of the page still open, scroll down to or search for this line of code:
    <APPLET height=67 alt="The BannerStream Applet" archive=bannerstream.zip width=362 code=bannerstream.class name=Banner mayscript>

Again, it also ends with the </APPLET> tag. As with the on-demand applet, you can move the banner between pages or within the page by cutting and pasting everything and includinf the applet tags. Similarly, you can have multiple applets on a single page by copying and pasting.

Related topics:

Go to Java.com Go to dsny.com