The Leader in Secure Video Delivery Software
Home
Embedding Clipstream™ Video Applet Code into your web page
Your web page requires the Clipstream™ Video applet code embedded in its body before it knows where and how to play your Clipstream™ Video (.vcs) files. The applet code contains pointers to your files as well as custom parameters that control how the video will be played.

Note: By default the Encoder also issues a Javascript include in order to have single-click functionality in Internet Explorer. Please see Making Clipstream™ Video v3 .js includes.

Requirements
  • Existing Clipstream™ Applet
  • Intel or AMD 800mhz or faster CPU
  • 128mb RAM
  • 2mb hard disk (application only)
  • DirectX6
How it works
In order to play the .vcs files, a Java applet containing instructions on how to play and which files to play must be embedded in your HTML, SHTML, PHP or other web format page.

What it looks like
Click the image below to see what the Clipstream™ Video applet code looks like.



Generate a default web page from the Encoder
The Encoder will generate a default web page with the applet code already embedded. If you do not already have this page, encode again but with the Generate HTML Page option checked.
  1. Launch the Clipstream™ Video Encoder (GUI version).
  2. Make sure that Generate HTML Page... is checked at the bottom of the Main Window.
  3. Encode.

    In the folder where the Encoder saves the movie files you will find a new web page.
Copy the Clipstream™ Applet code from the default page
Follow these steps to cut and paste the Clipstream™ Video applet code from the default page created by the Encoder.
  1. Open the generated HTML page with Notepad or other editor.
  2. Scroll down to the Applet code.

    <!-- Begin Clipstream Video applet code -->

  3. Highlight every line until after:

    <!-- End Clipstream Video applet code -->

  4. Copy it.

    This is all of the basic code needed for Clipstream™ Video.
Paste the code into a web page of your own design
Now that you have the needed applet code copied, you can paste it into your own page.
  1. Open up the HTML page you are building in a web editor or Notepad.
  2. Find the spot on the page where you want the video to appear
  3. Paste the copied applet code.
  4. Save the page.
At the end of these steps you will have an HTML page with the basic Clipstream™ Video applet code for the movie you rendered in the Encoder.

Note: If you wish to preview the clip locally before uploading it, you will need to copy your page into the folder where the Encoder placed the movie files (and other required files).

Uploading and Hosting
Follow the steps in Upload and Host Clipstream™ Video 3 page to place this page and the required files to your webserver so that they can be viewed on the web.

Applet Code options
The applet code generated by the Encoder is only the most basic implementation and does not employ any of the many optional parameters that are available. To learn how to edit the applet code so that you can add these options (or turn off default functions), go to our Editing Clipstream™ Video Parameters page.

Related topics