| TWiki . Javadesktop . ProjectWonderlandVideoPlayerAdmin |
<void property="source">
<string>http://research.sun.com/projects/mc/video/MPK20-oct2007.mov</string>
</void>
The size of the video window is specified by the following properties:
<void property="preferredWidth">
<double>1280</double>
</void>
<void property="preferredHeight">
<double>960</double>
</void>
These are preferred values; the video application will stretch the movie to fit the specified width and adjust the height to maintain the correct aspect ratio.
If you're installing a webcam or panorama viewer for use with an Axis camera, you need to create a user account on the camera for the video player. To do this, go to the camera's web page and click Setup and log in. Next click Users in the Basic Configuration section and click (Add...). Enter the following information:
| Property | Type | Description | Default | Required? |
|---|---|---|---|---|
| source | string | URL of the video or webcam | http://research.sun.com/projects/mc/video/MPK20-oct2007.mov | Y |
| videoClass | string | type of video source (a movie or a PTZ camera), one of the following: org.jdesktop.lg3d.wonderland.videomodule.common.SimpleMovie | none | Y |
| clientClassname | string | player type, one of the following: org.jdesktop.lg3d.wonderland.videomodule.client.cell.VideoApp | none | Y |
| playOnLoad | boolean | whether to play the movie on entering the world (if true, playback will start when the first user enters the world) | false | Y |
| synced | boolean | whether to sync playback with other clients | true | Y |
| position | double | where to start playback, in seconds | 0.5 | N |
| frameRate | double | frame rate in frames/second | 2.0 | N |
| panoramic | boolean | show panorama? | false | N |
| pan | float | initial pan angle in degrees (-49 to 49) | 0 | N |
| tilt | float | initial tilt angle in degrees (-36 to 36) | 0 | N |
| zoom | float | initial zoom factor (200-9740) | 200 | N |
| synced | boolean | whether to sync with other clients | true | N |
| requestThrottle | int | delay in seconds between sending camera requests (in milliseconds) | 2500 | N |
| preferredWidth | double | preferred width in pixels | 640 | N |
| preferredHeight | double | preferred height in pixels | 480 | N |
| pixelScale | float | scale factor used to scale the video window | 1.0 | N |
| decorated | boolean | whether to display a border around the application | true | N |
----- Revision r6 - 27 Jan 2009 - 17:59:05 - Main.nsimpson
|