The Leader in Secure Video Delivery Software
Home
Clipstream™ Video .js files
A Clipstream™ Video .js file is a separate javascript document that contains the applet code necessary to play a Clipstream formatted video file (.vcs). A web page can then embed a link calling this JavaScript document.

What is JavaScript?
JavaScript is an extended set of instructions that a web browser can use for greater functionality. A browser must enable JavaScript in order for it to be used. JavaScript is enabled in around 95% of browsers.

How do I get a Clipstream™ Video into a .js file?
By default, the Clipstream™ Video 3 Encoder will output both a .js file, the video files (.vcs), and a web page that links to the .js file. If you have previously disabled .js output you can re-enable it by checking "Generate JS/HTML after encoding finished" box in the Encoder main window.




After encoding a .js file will be saved in the same output directory as you have selected for your video clips. It looks like this:



You can download a sample .js file here.

If you have raw applet code you can also use our .js include generator form to convert it.

Must I use JavaScript to show a Clipstream™ Video clip?
No. You can embed a raw applet in a page (this was the previous method in earlier versions of Clipstream™ Video). However, Clipstream™ Video applets embedded directly into a page will not have single click functionality in Internet Explorer.

What if someone has JavaScript disabled?
You can use a noscript tag that will display whatever is within the tags to a browser that does not have JavaScript enabled.

Ex.
<noscript>Please enable Javascript to view the video</noscript>
-or-

You can put the raw applet code within the noscript tags.

More on this subject in the Related topics below:

Related topics