AutoPlay Property

Gets or sets a value that specifies whether the media element starts automatically.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

'Declaration
Public Property AutoPlay As Boolean
'Usage
Dim instance As SmoothStreamingMediaElement
Dim value As Boolean

value = instance.AutoPlay

instance.AutoPlay = value

Property Value

Type: System..::..Boolean
true if the media element starts automatically; otherwise, false.

For more information and for examples, see IIS Smooth Streaming Client 1.5.

Silverlight

Supported in: 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0

Show: