MediaPlayer.AutoPlay | autoPlay property

Applies to Windows Phone only

Gets or sets a Boolean value indicating if playback automatically starts after the media is loaded.

Syntax


var autoPlay = mediaPlayer.autoPlay;
mediaPlayer.autoPlay = autoPlay;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True is playback start automatically, otherwise false.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Media.Playback
Windows::Media::Playback [C++]

Metadata

Windows.winmd

See also

MediaPlayer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft