|
Adding DepthCharge Content to a Web Page
DepthCharge images and videos are added to a website using the EMBED tag. The basic form is shown below:
<embed src=”file.jps” type=”image/x-jps” height=640 width=480 pluginspage=”http:\www.vrex.com\depthcharge”>
The attribute/value pairs are described below:
|
src
|
Points to the DepthCharge conent file
|
|
type
|
Specifies the type of content pointed to by the src attribute.
- “image/x-jps” for JPEG Stereo files
- “image/x-jps” for PNG Stereo files
- “image/x-vrr” for VRex VRR format
|
|
height
|
Height of embed client area in pixels
|
|
width
|
Width of embed client area in pixels
|
|
pluginspage
|
Points to the download location for DepthCharge. If a user hits a web page with DepthCharge content and does not have the plug-in installed, this will direct them to the location to
download the plug-in. This should always be set to:
”http:\www.vrex.com\depthcharge”
|
|
If the height and width attributes do not match the source image size, then DepthCharge will scale the content to fit within the specied embed client area. The aspect ratio of the content will be preserved.
The various types of DepthCharge content will be detailed in a later section.
Previous / Next
|