Player.Buffering Event
TOC
Collapse the table of content
Expand the table of content

Player.Buffering event

The Buffering event occurs when the Windows Media Player control begins or ends buffering or downloading.

Syntax


Player.Buffering(
  Start
)

Parameters

Start

Boolean containing one of the following values.

ValueDescription
trueBuffering has started.
falseBuffering has ended.

 

Return value

This event does not return a value.

Remarks

Use this event to determine when buffering or downloading starts or stops. You can use the same event block for both cases and test Network.bufferingProgress and Network.downloadProgress to determine whether Windows Media Player is currently buffering or downloading content.

The value of event parameters is specified by Windows Media Player, and can be accessed or passed to a method in an imported JScript file by using the parameter name given. This parameter name must be typed exactly as shown, including capitalization.

Requirements

Version

Windows Media Player version 7.0 or later.

DLL

Wmp.dll

See also

Network.bufferingProgress
Network.downloadProgress
Player Object

 

 

Show:
© 2016 Microsoft