Windows Media Player 11 SDK Player.Buffering EventĀ
Previous | Next |
Player.Buffering Event
The Buffering event occurs when the Windows Media Player control begins or ends buffering or downloading.
Syntax
Buffering(Start)
Parameters
Start
Boolean containing one of the following values.
Value | Description |
true | Buffering has started. |
false | Buffering has ended. |
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.
Library: Use wmp.dll.
See Also
Previous | Next |