Gets or sets a value that indicates whether media will begin playback automatically when the Source property is set.
| XAML | |
| Scripting | value = object.AutoPlay object.AutoPlay = value |
Property Value
Boolean
true if playback is automatic; otherwise, false.
This property is read/write. The default value is true.
Applies To
MediaElement
See Also
MediaOpened,
Source (MediaElement),
Media Overview,
Supported Media Formats and Protocols