Original article: http://chandlerzhao.blogchina.com/chandlerzhao/2759497.html
Parameter meanings of embedded RealPlayer players
Parameter meanings of embedded RealPlayer players
Parameter: autostart
Attribute: true or false
Purpose: Specify whether to automatically play the specified source file.
Parameter: backgroundcolor
Attribute: Any hexadecimal value starting with the symbol "#" or any predefined color.
Purpose: Specify the background color of the image window.
Parameter: Center
Attribute: true or false
Purpose: Specify the initial encoding size for the video clip and play it in the center of the image window.
Parameter: classid
Property: "CLSID: CFCDAA03-8BE4-1lcf-B84B0020AFBBCCFA :**
Purpose: it is used to specify the unique string identifier of the ActiveX control and recognize the embedded realpalyer player.
Parameter: Console
Attribute: any string
Purpose: Different RealPlayer controls can be aggregated on the Web page so that they can be used and maintained independently without affecting each other.
Parameter: Controls
Attributes: imagewindow, all, controlpanel, plavbutton, playonlybutton, pausebutton, stopbutton, ffctrl, rwctrl, mutectrl, mutevolume, volume, positionslider, delimiter, delimiter, volume, infopanel, statusbar, statusfield, positionfield
Purpose: You can specify which controls are visible.
--------------------------------------------------------------------
------------ This is the relative parameter: Chinese meaning of the CONTROLS attribute...
Next we will discuss how to use javasprite to customize your own playback control...
Component: imagewindow
Role: video display area
Component: All
Purpose: Embed all buttons, slide bars, and information panels of realplaver.
Component: controlpanel
Purpose: display all the control buttons, as well as the position slide and speaker icons, and the slide for adjusting the sound size.
Component: playbutton
Purpose: display the play and pause buttons.
Component: playonlybutton
Purpose: only display the playback button.
Component: pausebutton
Purpose: only the pause button is displayed.
Component: stopbutton
Purpose: only the stop button is displayed.
Component: ffctrl
Purpose: only display the fastforward button
Component: rwctrl
Purpose: only display the rewind button
Component: mutectrl
Purpose: display only the speaker icon and use it as the mute button.
Component: mutevolume
Purpose: display the small speaker icon (for Mute) and the slider on it for adjusting the volume
Component: volumeslider
Purpose: only display the vertical volume slide
Component: positionslider
Purpose: Display horizontal sliding bars
Component: tacctrl
Purpose: display the horizontal message box with title, author, and copyright information displayed in turn.
Component: homectrl
Purpose: display a small real ID
Component: infovolumepanel
Purpose: display the black message box. The title, author, and copyright information are displayed in green. The speaker icon and sound adjustment slide are displayed on the right hand side.
Component: infopanel
Role: Same as above, but no mute button or sound adjustment slide
Component: statusbar
Purpose: display the horizontal message box, including the part information, such as the part time and network status.
Component: statusfield
Function: similar to statusbar, but only displays the message area and network messages, for example, "re-buffenng ..."
Component: positionfield
Function: a small black message box that displays the length of the entire file segment and the position of the current frame in the segment.
Bytes -------------------------------------------------------------------------------------
Parameter: Height
Attribute: any integer
Purpose: Specify the height of the RealPlayer element, in pixels.
Parameter: ID
Attribute: any string
Purpose: specify the name of the RealPlayer element in the <Obiect> label.
Parameter: imagestatus
Attribute: true or false
Purpose: Specify whether to display status information in the image window. The default value is true.
Parameter: loop
Attribute: true or false
Purpose: You can specify whether the part contains infinite loops.
Parameter: maintainaspect
Attribute: true or false
Purpose: by default, RealPlayer extends all parts to fill the entire image window.
Parameter: Name
Attribute: any string
Purpose: specify a name for the RealPlayer element in the <embed> tag (use ID in the tag <Object>)
Parameter: nojava
Attribute: true or false
Purpose: Avoid starting a Java VM.
Parameter: nolabels
Attribute: true or false
Purpose: Do not display titles or copyright information (it is junk when realplayer5.0 or above ...)
Parameter: nologo
Attribute: true or false
Purpose: avoid displaying in the image window when RealPlayer is started.
Parameter: numloop
Attribute: any integer
Purpose: enables you to specify the number of file loop times without the parameter loop.
Parameter: prefetch
Attribute: true or false
Purpose: Specify whether RealPlayer can obtain stream description information before playing. The default value is false.
Parameter: Region
Attribute: any string
Purpose: use it with SMIL. Allow you to specify HTML to replace smil
Parameter: scriptcallbacks
Attribute: List separated by commas
Purpose: Specify browser callback monitoring (Advanced stuff !; -)
Parameter: shuffle
Attribute: true or false
Function: used together with a multi-file RAM file or SMIL file. Allows RealPlayer To Play files in the list randomly (how to use it, who will teach ...)
Parameter: SRC
Property: Any legal relative or complete URL
Purpose: Specify the address of the playback file or source file.
Parameter: Type
Attribute: String
Purpose: Specify the MIME type for the embedded plug-in.
Parameter: width
Attribute: any integer
Purpose: Specify the width of the RealPlayer element.
Control on embedded objects:
A href = "javascript: void document. realcontrols. doplay ();"
A href = "javascript: void document. realcontrols. dopause ();"
A href = "javascript: void document. realcontrols. dostop ();"
ButtonCode: Call onclick;
<Input type = "button" value = "play" onclick = "document. realcontrols. doplay ();">
<Input type = "button" value = "pause" onclick = "document. realcontrols. dopause ();">
<Input type = "button" value = "stop" onclick = "document. realcontrols. dostop ();">
Use Vbscript and IE
<Input type = "button" value = "play" name = "doplay">
<Script language = "VBScript" for = "doplay" event = "onclick"> realcontrols. doplay </SCRIPT>
<Input type = "button" value = "pause" name = "pause">
<Script language = "VBScript" for = "pause" event = "onclick"> realcontrols. dopause </SCRIPT>
<Input type = "button" value = "stop" name = "stop">
<Script language = "VBScript" for = "stop" event = "onclick"> realcontrols. dostop </SCRIPT>