Overview
The HTML code for the embedded Kasenna Broadband player has the following general structure:
<OBJECT ID="BbPlayer"
CLASSID="CLSID:3FABDD48-938F-11D2-8ACE-00C04F991007"
HEIGHT="390"
WIDTH="360">
<param name="MediaBaseUrl"
value="test.mpg">
<param name="StartPosition"
value="0">
<param name="StopPosition" value="0">
<param
name="AUTOSTART" value="FALSE">
<param name="SGILOOP"
value="FALSE">
<param name="SGIUSETOOLBAR" value="FALSE">
<embed NAME="BbPlayer"
HEIGHT="390" WIDTH="360"
SRC="test.mpg?displaymethod=embed&name=BbPlayer&StartPosition=0&StopPosition=0&AUTOSTART
=FALSE&SGILOOP =FALSE&SGITOOLBAR =FALSE">
</embed>
</OBJECT>
This code consists of an <OBJECT> tag and an <EMBED> tag. The
<OBJECT> tag is interpreted by Internet Explorer, but is ignored by
Netscape. The OBJECT tag handles the embedding of an ActiveX component.
Netscape uses the EMBED tag for embedding a Netscape plugin. The combination
of both tags ensures a correct replay of the clip in both browsers.
Setting options
The easiest way to set common options is by using the Virtual Cutter. However, you can manually add options that are not included in the generated HTML code. An overview of all options is presented below. Note that you must specify the options for both the OBJECT and the EMBED tag.
OBJECT tag parameters
Add the line below. Replace [parameter name] by the parameter name and [value] by the parameter value.
<param name= '[parameter name]' value ='[value]'>
An example:
In order to set the value of the 'AUTOSTART' parameter to 'true' you
add the following line below the other lines (but above the ">"):
<param name='AUTOSTART' value='true'>
EMBED tag parameters
All parameters that can be set for the EMBED tag can be modified using the Virtual Cutter.
Overview of the options
Most of the options below only apply to the <OBJECT> tag,
and they only have an effect on playing clips in Internet Explorer.
Exceptions are AUTOSTART (which works in both Internet Explorer and Netscape) and SGILOOP and
SGIUSETOOLBAR (which only work in Netscape).
AUTOSTART
Indicates whether the file should start playing automatically.
| Value(s) | TRUE or FALSE |
| Default value | FALSE |
AUTOLOOP
Indicates whether the file should be played continuously.
| Values(s) | TRUE of FALSE |
| Default value | FALSE |
AUTOREWIND
Indicates whether the file should be rewound automatically after playing.
| Value(s) | TRUE or FALSE |
| Default value | FALSE |
BACKCOLOR
Specifies the background colour of the image window.
| Value(s) | A 4-byte integer in the range of 0 to 16,777,215 (hexadecimal &HFFFFFF) indicating the RGB-colour. |
| Default value | 0 (black) |
BALANCE
Specifies the balance control of the sound.
| Value(s) | An integer value between -50 (left only) and 50 (right only). |
| Default value | 0 |
BORDERSTYLE
Specifies the width of the border around the player.
| Value(s) | An integer value of 0 or more. |
| Default value | 0 |
BUFFERINGTIME
The time used by the Broadband Player for buffering the file.
| Value(s) | An integer value larger than 0 indicating size of the buffer in seconds . |
| Default value | (none) |
DISPLAYSIZE
Specifies the relative size of the Broadband Player.
| Value(s) | A value of 1, 2, 3 or 5
1: 50% |
| Default value | (none) |
ENABLECONTEXTMENU
Specifies whether the context menu (activated by the right mouse button) is available.
| Value(s) | TRUE or FALSE |
| Default value | TRUE |
ENABLEFASTFORWARD
Indicates whether the fast-forward button is available.
| Value(s) | TRUE or FALSE |
| default value | TRUE |
ENABLEFASTREWIND
Specifies whether the fast-rewind button is available.
| Value(s) | TRUE or FALSE |
| default value | TRUE |
ENABLEFULLSCREEN
Specifies whether the user is allowed to play the video full screen.
| Value(s) | TRUE or FALSE |
| Default value | TRUE |
ENABLEREPOSITION
Specifies whether the user can use the slider to move through the file.
| Value(s) | TRUE or FALSE |
| Default value | TRUE |
SHOWCONTROLS
Specifies whether the control panel is visible.
| Value(s) | TRUE or FALSE |
| Default value | TRUE |
SHOWSTATUSBAR
Specifies whether the status bar is visible.
| Value(s) | TRUE or FALSE |
| Default value | TRUE |
VOLUME
Sets the volume level.
| Value(s) | An integer value between 0 (no sound) and 100 |
| Default value | Current setting |
SGILOOP
Specifies whether playback of the clip should continue, or loop, indefinitely. When set to true, playback of the clip continues to loop until the user stops playback. NETSCAPE ONLY.
| value(s) | TRUE or FALSE |
| default value | FALSE |
SGITOOLBAR
The Control Panel is displayed if SGIUSETOOLBAR is set to TRUE. NETSCAPE ONLY.
| value(s) | TRUE or FALSE |
| default value | TRUE |