How to get windows media player to show time remaining




















Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy. The duration property retrieves the duration of the current media item in seconds. If this property is used with a media item other than the one specified in Player. To retrieve the duration for files that are not in the user's library, you must wait for Windows Media Player to open the file; that is, the current OpenState must equal MediaOpen.

You can verify this by handling the Player. OpenStateChange event or by periodically checking the value of Player. For playlists, the duration of each media item can be retrieved when the individual media item is opened, rather than the when the playlist is opened.

To retrieve the value of this property, read access to the library is required. For more information, see Library Access. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Learn more. Asked 11 years ago. Active 3 months ago. Viewed 6k times. Improve this question. Siim K Siim K 7, 6 6 gold badges 46 46 silver badges 68 68 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Pouria Pouria 11 1 1 bronze badge. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.

Post as a guest Name. Email Required, but never shown.



0コメント

  • 1000 / 1000