Partager via


Network.framesSkipped

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The framesSkipped property retrieves the total number of frames skipped during playback.

Syntax

player.network.framesSkipped

Possible Values

This property is a read-only Number (long).

Examples

The following JScript example uses Network.framesSkipped to display the total number of frames skipped during playback when the user clicks a button. The information is displayed in an HTML DIV created with ID = "FS". The Player object was created with ID = "Player".

<!-- Create an HTML BUTTON element. -->
<INPUT TYPE = "BUTTON" ID = "skipped" NAME = "skipped"
       VALUE = "Count frames skipped" 
       onClick = "FS.innerHTML = 'Frames skipped: ' + Player.network.framesSkipped;">

Requirements

Requirement Value
Version
Windows Media Player version 7.0 or later.
DLL
Wmp.dll

See also

Network Object