MediaElementState
MediaElementState
MediaElementState
MediaElementState
Enum
Definition
Defines the potential states of a MediaElement object.
public : enum class MediaElementStatepublic enum MediaElementStatePublic Enum MediaElementState// This API is not available in Javascript.
<object property="enumMemberName"/>
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Buffering Buffering Buffering Buffering | The MediaElement is loading the media for playback. Its Position does not advance during this state. If the MediaElement was already playing video, it continues to display the last displayed frame. |
| Closed Closed Closed Closed | The MediaElement contains no media. The MediaElement displays a transparent frame. |
| Opening Opening Opening Opening | The MediaElement is validating and attempting to load the specified source. |
| Paused Paused Paused Paused | The MediaElement does not advance its Position. If the MediaElement was playing video, it continues to display the current frame. |
| Playing Playing Playing Playing | The MediaElement is playing the current media source. |
| Stopped Stopped Stopped Stopped | The MediaElement contains media but is not playing or paused. Its Position is 0 and does not advance. If the loaded media is video, the MediaElement displays the first frame. |