You can expand the viewing area of the Clipstream Video
clip beyond its original size with no extra cost in file size or bandwidth
by enabling the zoom feature. Do this by toggling a parameter in the applet.
Requirements
- HTML or Text editor (Notepad)
- FTP access to web server
- Newest videoclipstream.zip
- Existing Clipstream® Video files (vcs) already on webserver
How the ZoomVideo feature works
By default all Clipstream® Video applets since version 2.5 had zoom enabled. If the user hovers over the video image area, a magnifying glass
icon will appear. If they click on it, the video will scale up to fill the screen. Optionally, the video can be set to zoom automatically as soon
as the video is played, szoom on load, zoom at a specified time, zoom only on user right-click, or set to disable the zoom.
Enabling the zoom feature
Although by default zoom is enabled, you can re-enable it after it was turned off
by making changes to existing applet code.
- 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:
- Insert the ZoomVideo 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.
- Save the page and upload it using your FTP or web development program.
Try the ZoomVideo 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.
Options
By adjusting the ZoomVideo parameter value differently you can adjust the
zoom function.
| Value
| Effect
|
| 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:
|
Related topics