The Leader in Secure Video Delivery Software
Home
Editing Clipstream™ Video Applet Parameters
How your video plays back is governed by the default and optional parameters in the Clipstream™ Video Applet .js file. Learn how to edit basic parameters and enter in new ones from our dozens of options.
What is an applet?
An applet is a set of Java instructions that can run programs from a web page. Clipstream™ Video is one of these.

Requirements
  • Existing Clipstream™ Applet
  • web page with Clipstream™ js. embedded link
  • Existing Clipstream™ .js file
  • web page editor or Notepad
What is a parameter?
A parameter is a line of code in the Clipstream™ Video applet that contains an instruction on how to play the encoded video clip.

What does a parameter look like?
It looks like this:

Ex.
csv.AutoPlay ='false' ;

The csv parameter line has two components, an identifier and a switch. In this case, 'AutoPlay' parameter tells the applet to play the video clip on page load - or not. In order to tell the parameter whether to do this or not, you must edit the switch component. 'True' means yes; 'False' would be no.

Other types of parameters tell the applet the locations of different files, colours of elements, licensing or even what Javascript functions the applet can launch. There are also many default behaviours that can be changed if a parameter is included.

Editing a parameter
Learn how to edit a parameter by follow these steps to make the applet play its video automatically.
  1. Open an existing Clipstream-generated .js file in Notepad or other web editor
  2. Find the line that reads:

    csv.PanelEnable ='true' ;

    This parameter is always included in the default web page generated by the Encoder. It tells the Clipstream™ Video applet to display the buttonset that allows users to stop, play or pause the video.

  3. To make the applet play without the buttonset, change the switch 'False' to 'True'.

    It should now look like this:

    csv.PanelEnable ='false' ;

  4. Note: Always use single quote marks.
  5. Save the .js file.
  6. Reload the web page that links to this .js file in your Browser..

    The video will play automatically.
Related topics