?? manual.htm
字號:
<font class="procwd"> GetCodecDescription</font>
<font class="proc">
(CodecNum:
Integer): WideString;<br>
</font>
Retrieves the descriptive name of the given codec.</p>
<p><font class="proc">function
</font>
<font class="procwd"> GetCodecInstalled</font><font class="proc"> (CodecNum:
Integer): WordBool;<br>
</font>
Retrieves a value indicating whether a given codec is installed.</p>
<p><font class="proc">function
</font>
<font class="procwd">GetCodecURL</font><font class="proc">(CodecNum:
Integer): WideString;<br>
</font>
Retrieves the URL location containing additional information about the given
codec.</p>
<p><font class="proc">procedure
</font>
<font class="procwd"> GetMarkerName</font><font class="proc"> (MarkerNum:
Integer);<br>
</font>
Retrieves the name of a marker, given its marker number.</p>
<p><font class="proc">procedure
</font>
<font class="procwd"> GetMarkerTime</font><font class="proc"> (MarkerNum:
Integer);<br>
</font>
Retrieves a value indicating the presentation time of a given marker.</p>
<p><font class="proc">function
</font>
<font class="procwd"> GetMediaInfoString</font><font class="proc"> (MediaInfoType:
MPMediaInfoType): WideString;<br>
</font>
Retrieves show or clip information. The possible values for the MediaInfoType parameter are:<br>
<font class=code>mpShowFilename<br>
mpShowTitle<br>
mpShowAuthor<br>
mpShowCopyright<br>
mpShowRating<br>
mpShowDescription<br>
mpShowLogoIcon<br>
mpClipFilename<br>
mpClipTitle<br>
mpClipAuthor<br>
mpClipCopyright<br>
mpClipRating<br>
mpClipDescription<br>
mpClipLogoIcon<br>
mpBannerImage<br>
mpBannerMoreInfo<br>
mpWatermark</font></p>
</font><p><font class="proc"> function </font><font class="procwd"> GetMetaData</font><font class="proc"> (var ClipFileName, ClipTitle, ClipAuthor, ClipCopyright, ClipRating, ClipDescription,
ClipLogoIcon: String): WordBool;<br>
</font><font class="body">
Retrieves the meta information.</p>
<p><font class="proc">function
</font>
<font class="procwd"> GetMoreInfoURL</font><font class="proc"> (MoreInfoType: MPMoreInfoType):
WideString;<br>
</font>
Retrieves a URL to additional information about the presentation.<br>
The possible values of the MoreInfoType parameter are:<br>
<font class="code">
mpShowURL<br>
mpClipURL<br>
mpBannerURL</font></p>
<p><font class="proc">function
</font>
<font class="procwd"> GetStreamGroup</font><font class="proc">
(StreamNum: Integer): Integer;<br>
</font>
Retrieves the group associated with the given media stream.</p>
<p><font class="proc">function
</font>
<font class="procwd"> GetStreamName</font><font class="proc"> (StreamNum:
Integer): WideString;<br>
</font>
Retrieves the name of the given stream.</p>
<p><font class="proc">function
</font>
<font class="procwd"> GetStreamSelected</font><font class="proc"> (StreamNum:
Integer): WordBool;<br>
</font>
Retrieves a value indicating whether the given stream is currently selected.</p>
<p><font class="proc">function
</font>
<font class="procwd"> IsSoundCardEnabled</font><font class="proc"> :WordBool;<br>
</font>
Retrieves a value indicating whether the computer's sound card is enabled.</p>
<p><font class="proc">procedure
</font>
<font class="procwd">Next</font><font class="proc">;<br>
</font>
Jumps to the next clip in a play list.</p>
<p><font class="proc">procedure
</font>
<a name="Open"><font class="procwd">Open</font></a><font class="proc">;<br>
</font>
Asynchronously opens a clip specified in the <a href="#FileName">FileName</a>
property (Open does not wait until open completion. Test NewState in the <a href="#OnOpenStateChange">OnOpenStateChange</a>
event to know when the clip is really opened).</p>
<p><font class="proc">procedure
</font>
<a name="OpenSync"><font class="procwd">OpenSync</font></a><font class="proc">;<br>
</font>
synchronously opens a clip specified in the <a href="#FileName">FileName</a>
property (waits until open completion).</p>
<p><font class="proc">procedure
</font>
<a name="Pause"><font class="procwd">Pause</font></a><font class="proc">;<br>
</font>
Suspends playback at the current position in the clip.</p>
<p><font class="proc">procedure
</font>
<a name="Play"><font class="procwd">Play</font></a><font class="proc">;<br>
</font>
Starts playing a clip from the starting position or continues playing a paused
or stopped clip.</p>
<p><font class="proc">procedure
</font>
</font><FONT CLASS="procwd"><A NAME="PlayBackwards">PlayBackwards</A></FONT><font class="body"><font class="proc">;<br>
</font>
Starts playing a clip backwards from the starting position or continues playing
backwards a paused clip.</p>
<p><font class="proc">procedure
</font>
<font class="procwd">Previous</font><font class="proc">;<br>
</font>
Jumps to the previous clip in a play list.</p>
<p>
<font class="proc">
procedure
</font>
<a name="ScrollHorz"><font class="procwd">ScrollHorz</font></a>
<font class="proc">
(Min, Position, Max:
integer);<br>
</font>
Scrolls horizontally the clip's window, allowing to see the hidden part of a
zoomed window. Has no effect if <a href="#DisplaySize">DisplaySize</a> <>
mpCustomSize or
if the clip fits inside its parent control. To center the clip set the default
Position to equal distance between Min and Max.</p>
<p><font class="proc">procedure
</font>
<a name="ScrollVert"><font class="procwd">ScrollVert</font></a> <font class="proc"> (Min, Position, Max:
integer);<br>
</font>
Scrolls vertically the clip's window, allowing to see the hidden part of a
zoomed window. Has no effect if <a href="#DisplaySize">DisplaySize</a> <>
mpCustomSize or
if the clip fits inside its parent control. To center the clip set the default
Position to equal distance between Min and Max.</p>
<p><font class="proc">procedure
</font>
<a name="Stop"><font class="procwd">Stop</font></a><font class="proc">;<br>
</font>
Stops playback of the current clip. Reset the current clip's position to 0.</p>
<p>
<font class="proc">
procedure
</font>
<font class="procwd"> StreamSelect</font>
<font class="proc">
(StreamNum:
Integer);<br>
</font>
Selects the media stream indicated by the specified stream number.</p>
<br><br>
<p class="t1"><a name="Public properties">
Public
properties</a></p>
<p><font class="proc">property
</font>
<font class="procwd">Bandwidth</font><font class="proc">:
integer;<br>
</font>
Retrieves the bandwidth of the current clip in bits per second.</p>
<p><font class="proc">property
</font>
<font class="procwd">BufferingCount</font><font class="proc">: integer;<br>
</font>
Retrieves the number of times buffering occurred during playback of a clip.</p>
<p><font class="proc">property
</font>
<font class="procwd">BufferingProgress</font><font class="proc">: integer;<br>
</font>
Retrieves the percentage of buffering completed.</p>
<p><font class="proc">property
</font>
<font class="procwd">BufferingTime</font><font class="proc">: Double;<br>
</font>
Retrieves a the buffering time in seconds.</p>
<p>
<font class="proc">
property
</font>
<font class="procwd">CanPreview</font><font class="proc">: WordBool;<br>
</font>
Retrieves a value indicating whether the current content contains a play list that can be previewed.</p>
<p><font class="proc">property
</font>
<font class="procwd">CanScan</font><font class="proc">: WordBool;
<br>
</font>
Retrieves
a value indicating whether the current file supports scanning.</p>
<p><font class="proc">property
</font>
<font class="procwd">CanSeek</font><font class="proc">: WordBool;
<br>
</font>
Retrieves
a value indicating whether the current file has the ability to seek to a
specific time.</p>
<p><font class="proc">property
</font>
<font class="procwd">CanSeekToMarkers</font><font class="proc">: WordBool;
<br>
</font>
Retrieves
a value indicating whether markers in the file can be located with a seek
operation.</p>
<p><font class="proc">property
</font>
<font class="procwd">ChannelDescription</font><font class="proc">: WideString;<br>
</font>
Retrieves the station description.</p>
<p><font class="proc">property
</font>
<font class="procwd">ChannelName</font><font class="proc">: WideString;<br>
</font>
Retrieves the station name.</p>
<p><font class="proc">property
</font>
<font class="procwd">ChannelURL</font><font class="proc">: WideString;<br>
</font>
Retrieves the URL of the station metafile.</p>
<p><font class="proc">property
</font>
<font class="procwd">ClientID</font><font class="proc">: WideString;<br>
</font>
Retrieves the unique ID of a client.</p>
<p><font class="proc">property
</font>
<font class="procwd"> CodecCount</font><font class="proc"> : Integer;<br>
</font>
Retrieves the number of installable codecs used by the current clip.</p>
</font>
<p><FONT CLASS="proc">property </FONT><A NAME="CodecName"><FONT CLASS="procwd">CodecName</FONT></A><FONT CLASS="proc">:
WideString;<BR>
</FONT><FONT CLASS="body">Retrieves the name of the codec used by the clip
currently opened. The frame grabber must be <A HREF="#FGrabber_Enabled">enabled</A>
to get this information.</FONT></p>
<font class="body">
<p><font class="proc">property
</font>
<font class="procwd"> ConnectionSpeed</font><font class="proc"> :Integer;<br>
</font>
Retrieves the bandwidth selected during setup.</p>
<p><font class="proc">property
</font>
<font class="procwd">ContactAddress</font><font class="proc">: WideString;<br>
</font>
Retrieves the station's contact address.</p>
<p><font class="proc">property
</font>
<font class="procwd">ContactEmail</font><font class="proc">: WideString;<br>
</font>
Retrieves the station's e-mail address.</p>
<p><font class="proc">property
</font>
<font class="procwd">ContactPhone</font><font class="proc">: WideString;<br>
</font>
Retrieves the station's contact telephone number.</p>
<p><font class="proc">property
</font>
<font class="procwd">CreationDate</font><font class="proc">: TDateTime;<br>
</font>
Retrieves the date and time when the clip was created.</p>
<p><font class="proc">property
</font>
<font class="procwd">CurrentMarker</font><font class="proc">:
Integer;<br>
</font>
Specifies or retrieves the current marker number.</p>
<p><font class="proc">property
</font>
<a name="CurrentPosition"><font class="procwd">CurrentPosition</font></a><font class="proc">: Double;<br>
</font>
Retrieves the current position in seconds or in frames according to <a href="#DisplayMode">DisplayMode</a>.
Use <a href="#FramePosition">FramePosition</a> of <a href="#TimePosition">TimePosition</a>
to avoid testing DisplayMode.<br>
Note: the frame position can be unavailable (e.g. : not returned by asf files).</p>
<p>
<font class="proc">
property
</font>
<a name="Duration"><font class="procwd">Duration</font></a><font class="proc">: double;<br>
</font>
Retrieves the length of the clip, in seconds or in frames according to <a href="#DisplayMode">DisplayMode</a>.
Use <a href="#FrameCount">FrameCount</a> or <a href="#TotalTime">TotalTime</a>
to avoid testing DisplayMode.<br>
Note: the frame count can be unavailable (e.g. : not returned by asf files).</p>
<p>
<font class="proc">
property
</font>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -