Attributes for Faces media components

The following table describes some of the attributes found in the Properties views and the All Attributes views of Faces media components.

The Properties view (Window > Show View > Properties) shows the most common attributes for a component and is the default view.

The All Attributes view shows all the attributes for a component, To switch to the All Attributes view for a component, click the All Attributes button to the right of the Properties view tab. When you click an attribute in the All Attributes view, a description of the attribute displays next to it.

For additional media attributes, you should also refer to Attributes for Faces components.

Component Attribute Description
RealOne Player (playerRealPlayer) backgroundcolor Sets the background color for the image window. If a clip includes transparent regions, the background color shows through these areas.
console When the same console name is specified for multiple controls on a Web page, this parameter allows these controls to manage playback of a single, embedded presentation. For example, if you have multiple Play and Stop buttons on the same page, a shared console name enables them to control the same clip.
controls Embeds the specified RealPlayer control on your Web page.
center Specifies whether the presentation should be centered in the image window and displayed in its original, encoded size.
loop Specifies whether playback of the clip should continue or loop indefinitely.
shuffle Specifies whether all unplayed clips in a presentation, should be played in a random order. This parameter can be used for multiclip RAM files (.ram or .rpm) or SMIL files that contain only a sequence of clips.
Windows Media Player playerMediaPlayer uiMode Appearance of the embedded Windows Media Player. Values can be "none", "mini", "full" or "invisible".
baseURL Specifies the base URL the media player will be operating in.
stretchToFit Takes a true or false value to set whether to maintain the original aspect ratio of the video to be played. The default is false.
enableContextMenu Specifies whether the context menu appears when the user clicks the right mouse button. Default is true.
playCount Specifies the number of times a clip plays.
volume Volume, in hundredths of decibels ranging from -10,000 to 0. It has a default value of -600.
Macromedia Flash Player (playerFlash) loop Specifies whether the movie repeats continuously (loops) or stops when it reaches the last frame. The default is true.
menu Specifies the displayed menu type. A true setting displays the full menu, giving the user a variety of options to enhance or control playback. A false setting displays a menu that contains only the Settings option and the About Flash option.
quality Specifies playing quality (low, medium, high, autolow, autohigh, best):

  • low - favors playback speed over appearance and never uses anti-aliasing.

  • medium - applies some anti-aliasing and does not smooth bitmaps. It produces a better quality than the low setting and lower quality than the high setting.

  • high - favors appearance over playback speed and always applies anti-aliasing. If the movie does not contain animation, bitmaps are smoothed; if the movie has animation, bitmaps are not smoothed.

  • autolow - emphasizes speed at first but improves appearance whenever possible. Playback begins with anti-aliasing turned off. If the Macromedia Flash Player detects that the processor can handle it, anti-aliasing is turned on.

  • autohigh - emphasizes playback speed and appearance equally at first but sacrifices appearance for playback speed if necessary. Playback begins with anti-aliasing turned on. If the actual frame rate drops below the specified frame rate, anti-aliasing is turned off to improve playback speed. Use this attribute setting to emulate the View > Antialias setting in Macromedia Flash Player.

  • best - provides the best display quality and does not consider playback speed. All output is anti-aliased and all bitmaps are smoothed.

salign Specifies alignment. Values can be l, r, t, b, The default centers the movie in the browser window and crops edges if the browser window is smaller than the movie. Left, Right, Top, and Bottom (l, r, t, and b) align the movie along the corresponding edge of the browser window and crop the remaining three sides as needed.
scale Specifies scale and can have the following values:

  • showall - (default) makes the entire movie visible in the specified area without distortion, while maintaining the original aspect ratio. Borders may appear on two sides of the movie.

  • noborder - scales the movie to fill the specified area without distortion but possibly with some cropping, while maintaining the original aspect ratio.

  • exactfit - makes the entire movie visible in the specified area without trying to preserve the original aspect ratio. Distortion may occur.

wmode Specifies the Window Mode property of the Flash movie. Values include:

  • window - the movie plays in its own rectangular window on the Web page.

  • opaque - the movie hides everything on the page behind it.

  • transparent - the background of the Web page shows through transparent portions of the movie. This may slow animation performance.

Macromedia Shockwave Player (playerShockwave) bgColor Color of the movie rectangle before the movie itself appears. The value is expressed in the standard six hexadecimal character RGB color representation (i.e.#FFFF00).
swStretchStyle Stretch style to use for the Shockwave media. Values include:

  • none - no stretching

  • meet - preserve proportions

  • fill - stretch to fill

  • stage - expand stage size

swStretchHAlign Specifies horizontal alignment when swStretchStyle is set to meet or stage. The value can be Left, Center or Right.
swstretchVAlign Specifies vertical alignment when swStretchStyle is set to meet or stage. The value can be Top, Center or Bottom.
swRemote Controls all Shockmachine functionality and has separate sub-parameters..

 

Related concepts

JavaServer Faces
Faces components

 

Related tasks

Using Faces components

Related reference
Faces components reference
Attributes for Faces components
Faces components reference
Attributes for Faces components