Share via


4.525 MediaPlayer

x:Object > DependencyObject > Freezable > Animatable > MediaPlayer

(usage)

<MediaPlayer />

(description)

Provides media playback for drawings.

(used by)

VideoDrawing

(properties)

Balance

x:Double

(description)

The balance between the left and right speaker volumes.

IsMuted

x:Boolean

(description)

A value that indicates whether the media is muted.

Position

x:TimeSpan

(description)

The current position of the media.

ScrubbingEnabled

x:Boolean

(description)

A value that indicates whether scrubbing is enabled.

SpeedRatio

x:Double

(description)

The ratio of speed that media is played at.

Volume

x:Double

(description)

The media's volume.

(events)

BufferingEnded

Occurs when buffering has finished.

BufferingStarted

Occurs when buffering has started.

MediaEnded

Occurs when the media has finished playback.

MediaFailed

Occurs when an error is encountered

MediaOpened

Occurs when the media is opened.

ScriptCommand

Occurs when a script command has been encountered within the media.