RealPlayer webpage player Parameters

Source: Internet
Author: User

RealPlayer webpage player Parameters
Parameter: autostart attribute: true or false: Specifies whether to automatically play the specified source file
Parameter: backgroundcolor attribute: Any hexadecimal value starting with the symbol "#" or any predefined color function: Specifies the background color of the image window.
Parameter: center attribute: true or false: specifies that the part is played with the initial encoding size in the center of the image window.
Parameter: classid property: "CLSID: CFCDAA03-8BE4-1lcf-B84B0020AFBBCCFA: ** function: Specifies the unique string identifier of the ActiveX control to recognize the embedded realpalyer player.
Parameter: Console attribute: any string function: Aggregates various RealPlayer controls on the webpage so that they can be used interactively or independently without affecting each other.
Parameters: Controls attributes: imagewindow, all, controlpanel, plavbutton, playonlybutton, pausebutton, stopbutton, ffctrl, rwctrl, mutectrl, mutevolume, volume, positionslider, tacctrl, homectrl, role, infopanel, statusbar, statusfield, and positionfield: You can specify the control that is visible.
Parameter: height attribute: any integer. It specifies the height of the RealPlayer element. Unit: pixel.
Parameter: Id attribute: any string. function: specify the name of the RealPlayer element in the tag.
Parameter: imagestatus attribute: true or false: determines whether to display status information in the image window. The default value is true.
Parameter: loop attribute: true or false. function: allows you to specify whether the part has an infinite loop.
Parameter: maintainaspect attribute: true or false: by default, RealPlayer can stretch all parts to fill the entire image window.
Parameter: Name attribute: any string. function: specify a name for the RealPlayer element in the tag (ID is used in the tag)
Parameter: nojava attribute: true or false. function: Avoid starting a Java VM.
Parameter: nolabels attribute: true or false: title or copyright information cannot be displayed (it is junk when realplayer5.0 or above ...)
Parameter: nologo attribute: true or false: prevents display in the image window during RealPlayer startup
Parameter: numloop attribute: any integer function: enables you to specify the number of file loop times without the parameter loop.
Parameter: prefetch attribute: true or false: Specifies whether RealPlayer can obtain stream description information before playback. The default value is false.
Parameter: Region property: any string used together with SMIL. Allow you to specify HTML to replace smil
Parameter: scriptcallbacks attribute: A list separated by commas (,). It specifies the browser's callback monitoring (Advanced !)
Parameter: shuffle attribute: true or false: used together with a multi-file RAM file or SMIL file. Allows RealPlayer To Play files in the list randomly.
Parameter: src attribute: Any legal relative or complete URL function: Specifies the address of the playback file or source file.
Parameter: Type attribute: String function: Specify the MIME type for the embedded plug-in
Parameter: width attribute: any integer. function: Specify the width of the RealPlayer element.

RealPlayer functions, methods, and processes

This is all functions and methods of Real Player ActiveX control library (version 1.0). If you are interested, please study them.

 

Function getsource: widestring;
Procedure setsource (const lpsznewvalue: widestring );
Function getconsole: widestring;
Procedure setconsole (const lpsznewvalue: widestring );
Function getcontrols: widestring;
Procedure setcontrols (const lpsznewvalue: widestring );
Function getnolabels: wordbool;
Procedure setnolabels (bnewvalue: wordbool );
Function getautostart: wordbool;
Procedure setautostart (bnewvalue: wordbool );
Function getautogotourl: wordbool;
Procedure setautogotourl (bnewvalue: wordbool );
Function getvolume: smallint;
Procedure setvolume (nvol: smallint );
Function getmute: wordbool;
Procedure setmute (bmute: wordbool );
Function getloop: wordbool;
Procedure setloop (bval: wordbool );
Function getimagestatus: wordbool;
Procedure setimagestatus (benable: wordbool );
Function getpacketstotal: integer;
Function getpacketsreceived: integer;
Function getpacketsoutoforder: integer;
Function getpacketsmissing: integer;
Function getpacketsearly: integer;
Function getpacketslate: integer;
Function getbandwidthaverage: integer;
Function getbandwidthcurrent: integer;
Procedure doplaypause;
Procedure dostop;
Procedure donextitem;
Procedure doprevitem;
Function canplaypause: wordbool;
Function canstop: wordbool;
Function hasnextitem: wordbool;
Function hasprevitem: wordbool;
Function hasnextentry: wordbool;
Function haspreventry: wordbool;
Procedure donextentry;
Procedure dopreventry;
Procedure aboutbox;
Procedure editpreferences;
Procedure hideshowstatistics;
Function isstatisticsvisible: wordbool;
Procedure dogotourl (const URL: widestring; const target: widestring );
Procedure doplay;
Procedure dopause;
Function getposition: integer;
Function getplaystate: integer;
Function getlength: integer;
Function gettitle: widestring;
Function getauthor: widestring;
Function getcopyright: widestring;
Function getclipwidth: integer;
Function getclipheight: integer;
Function canplay: wordbool;
Function canpause: wordbool;
Procedure setposition (lposition: integer );
Function getnumloop: integer;
Procedure setnumloop (lval: integer );
Function getcenter: wordbool;
Procedure setcenter (bval: wordbool );
Function getnologo: wordbool;
Procedure setnologo (bval: wordbool );
Function getmaintainaspect: wordbool;
Procedure setmaintainaspect (bval: wordbool );
Function getbackgroundcolor: widestring;
Procedure setbackgroundcolor (const pval: widestring );
Function getstereostate: wordbool;
Function getlivestate: wordbool;
Function getshowstatistics: wordbool;
Procedure setshowstatistics (bval: wordbool );
Function getshowpreferences: wordbool;
Procedure setshowpreferences (bval: wordbool );
Function getshowabout: wordbool;
Procedure setshowabout (bval: wordbool );
Function getoriginalsize: wordbool;
Procedure setoriginalsize;
Function getdoublesize: wordbool;
Procedure setdoublesize;
Function getfullscreen: wordbool;
Procedure setfullscreen;
Function getenablecontextmenu: wordbool;
Procedure setenablecontextmenu (bval: wordbool );
Function getenableoriginalsize: wordbool;
Procedure setenableoriginalsize (bval: wordbool );
Function getenabledoublesize: wordbool;
Procedure setenabledoublesize (bval: wordbool );
Function getenablefullscreen: wordbool;
Procedure setenablefullscreen (bval: wordbool );
Function getenablemessagebox: wordbool;
Procedure setenablemessagebox (bval: wordbool );
Procedure settitle (const pval: widestring );
Procedure setauthor (const pval: widestring );
Procedure setcopyright (const pval: widestring );
Function getwantkeyboardevents: wordbool;
Procedure setwantkeyboardevents (bwantsevents: wordbool );
Function getwantmouseevents: wordbool;
Procedure setwantmouseevents (bwantsevents: wordbool );
Function getnumentries: smallint;
Function getcurrententry: smallint;
Function getentrytitle (uentryindex: smallint): widestring;
Function getentryauthor (uentryindex: smallint): widestring;
Function getentrycopyright (uentryindex: smallint): widestring;
Function getentryabstract (uentryindex: smallint): widestring;
Procedure setcanseek (bcanseek: wordbool );
Function getcanseek: wordbool;
Function getbufferingtimeelapsed: integer;
Function getbufferingtimeremaining: integer;
Function getconnectionbandwidth: integer;
Function getpreferedlanguagestring: widestring;
Function getpreferedlanguageid: integer;
Function getusercountryid: integer;
Function getnumsources: smallint;
Function getsourcetransport (nsourcenum: smallint): widestring;
Function getwanterrors: wordbool;
Procedure setwanterrors (bval: wordbool );
Function getshuffle: wordbool;
Procedure setshuffle (bval: wordbool );
Function getversioninfo: widestring;
Function getlastmessage: widestring;
Function getlasterrorseverity: integer;
Function getlasterrorrmacode: integer;
Function getlasterrorusercode: integer;
Function getlasterroruserstring: widestring;
Function getlasterrormoreinfourl: widestring;
Procedure setprefetch (bval: wordbool );
Function getprefetch: wordbool;
Procedure setregion (const pval: widestring );
Function getregion: widestring;
Function getisplus: wordbool;
Function getconsoleevents: wordbool;
Procedure setconsoleevents (bval: wordbool );
Function getdrminfo (const pval: widestring): widestring;
Property controlinterface: irealaudio read getcontrolinterface;
Property defaultinterface: irealaudio read getcontrolinterface;

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.