Gets or sets a value that indicates whether the media file starts to play immediately after it is opened.
<ThemeableAttribute(True)> _ Public Overridable Property AutoPlay As Boolean Get Set
Dim instance As MediaPlayer Dim value As Boolean value = instance.AutoPlay instance.AutoPlay = value
[ThemeableAttribute(true)] public virtual bool AutoPlay { get; set; }
If the AutoLoad property is set to true and the AutoPlay property is set to false, a Play button appears in the media display area and becomes enabled as soon as the media is available.
For more information about the AutoLoad and AutoPlay properties, see ASP.NET MediaPlayer Server Control.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.