HTML and CSS Reference
In-Depth Information
Object Tag Parameters
Each type of media player has various <object> tag parameters that can be used. A
parameter identifies the behavior and appearance of the object to which you assign the
parameters. Table 8-4 lists the most commonly used parameters for Windows Media Player.
Parameters
Many other object
parameters are available
that are not discussed in
this chapter. The various
ActiveX controls have
different parameters that
can be used with that
control. Review online
what other parameters
might be effective for
you to use in your Web
development.
Table 8-4 Commonly Used Parameters for Windows Media Player
Parameter
Default
Description
autostart
true
Specifies whether the current media item begins playing automatically
balance
0
Specifies the current stereo balance; values range from -100 to 100
baseURL
[no default]
Specifies the base URL used for relative path resolution with URL script
commands that are embedded in media items
enabled
false
Specifies whether the Windows Media Player control is enabled
fullscreen
false
Specifies whether video content is played back in full-screen mode
mute
false
Specifies if audio is muted
playcount
1
Specifies the number of times a media item will play; minimum value
of one
rate
1.0
Specifies the playback rate; 0.5 equates to half the normal playback
speed, 2 equates to twice
showaudiocontrols
true
Sets if the audio controls should show
showcontrols
true
Sets if the player controls should show
showdisplay
false
Sets if the display should show
showstatusbar
false
Sets if the status bar should show
stretchtofit
false
Specifies whether video displayed by the control automatically sizes to fit
the video window, when the video window is larger than the dimensions
of the video image
uimode
full
Specifies which controls are shown in the user interface; possible values:
invisible, none, mini, full
URL
Specifies the name of the media item to play; you can specify a local
filename or a URL
volume
[last setting;
0-100]
Zero specifies no volume and 100 specifies full volume
windowlessvideo
false
Specifies or retrieves a value indicating whether the Windows Media
Player control renders video in windowless mode; when windowlessvideo
is set to true, the player control renders video directly in the client area,
so you can apply special effects or layer the video with text
Although you do not add any QuickTime video clips to any Web pages in this
chapter, Table 8-5 lists the most commonly used parameters for QuickTime. To see
complete parameters for any player, review them online at the manufacturers' Web sites.
Table 8-5 Commonly Used Parameters for QuickTime
Parameter
Default
Description
autoplay
true
Specifies whether the current media item begins playing automatically
bgcolor
[no default]
Sets the background color for the object
controller
true
Specifies if the player controls should show
endtime
[no default]
Specifies the time in the clip at which the video ends
Search WWH ::




Custom Search