The Leader in Secure Video Delivery Software
Home

Enabling Clipstream™ Video v2.5 zoom option
In Clipstream™ Video 2.5 we introduced a zoom option that enables the Clipstream™ Video developer to display an existing video in a maximized window by multiplying the pixels of the original video source. This is done with no extra cost in file size or bandwidth. Existing videos encoded in the previous version of Clipstream™ Video do not have to be reencoded once a new videoclipstream.zip has replaced the existing one. With the addition of an extra parameter to existing applet code more zoom options are available.

Requirements
  • HTML or Text editor (Notepad)
  • FTP access to web server
  • Newest videoclipstream.zip
  • Existing Clipstream™ Video files (vcs) already on webserver
Enabling the zoom option

Enabling the zoom option requires you to make changes to existing applet code and upload a new videoclipstream.zip to your webserver. Follow the steps below to do this.

1. Download the newest videoclipstream.zip
Click here to download it. (this location will always have the most recent public release version of Clipstream™ Video.)



2. Upload the videoclipstream.zip and replace your old one
After it is downloaded, use your FTP program to upload it to the webserver that has your existing videos.

- DO NOT unzip the file.
- Make sure that you replace all older versions of the videoclipstream.zip on the server.

3. Zoom is now enabled
By default now every video that references the new videoclipstream.zip has zoom enabled. Users can now right-click on each applet video and use the zoom feature.

Further zoom options
There are other zoom options available that can be made available by adding an additional parameter line to the applet code. Follow Steps 4-9 to enable these.

4. Edit page with existing Clipstream™ Video applet embedded
Find an existing page that includes a Clipstream™ Video applet. Download it so that you can edit it. Once you have downloaded it, open up the page using your HTML editor or Notepad.

5. Find the applet code
Look in the page code for the Clipstream™ Video applet. It should begin with the following comments and code:



and it ends with a line that looks like (but not exactly) this:



6. Insert the new zoom parameter
Make a new line within the applet code and insert the following line:

<param name='ZoomVideo' value='rightclick,icon'>

The line can reside anywhere between the applet tags.

7. Save and upload
Save the page and upload it using your FTP program.

8. Try the zoom feature out
Now view the page in your browser. Play the video. In the bottom right-hand corner you should see a symbol that looks like a magnifying glass:


Click on the icon. A window will now pop up over the video showing the same content but with its pixels multiplied.
While the window is open the normal Clipstream™ Video controls are still active (although they may be covered by the zoomed window). Close the window with the X button in the top right hand corner.

9. Options
By adjusting the ZoomVideo parameter value differently you can adjust the zoom function.

value='rightclick' - having just the rightclick value will enable zoom only if the user right-clicks (PC only) on the applet.
value='icon' - having just the icon value will enable zoom only if the user clicks on the zoom icon graphic.
value='rollover' - this will cause the video to zoom when the user scrolls their mouse over the applet.
value='true' - this will cause the video autoplay with zoom already open.
value='false' - turns off the zoom function.
Notes:
- By default the zoom function is set to rightclick. So to turn it off you must set the parameter to false.

- You can include several of these switches in one value statement by separating them with commas.

ex. value='true,rightclick,icon' will cause the video to play with the zoom already enabled but when the user closes it, it will revert to both 'rightclick' and 'icon'.

- use your judgement when employing the rollover zoom value as it could be annoying for the user.

Go to Java.com Go to dsny.com