By default, the media that is defined by the Source property
plays immediately after the MediaElement object has loaded. To suppress the media from starting automatically, set the
AutoPlay property to
false or in your case set it to true.
and if this post was helpful then please 'Mark as Answer' - many thanks
Sharker Khaleed Mahmud (MCPD)
Software Developer
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
shamrat231
Star
10748 Points
1283 Posts
Re: Sound thats loops
Nov 27, 2008 03:35 PM | LINK
Here you go.
<MediaElement x:Name="media" Source="xbox.wmv"
Width="300" Height="300" />
By default, the media that is defined by the Source property plays immediately after the MediaElement object has loaded. To suppress the media from starting automatically, set the AutoPlay property to false or in your case set it to true.
and if this post was helpful then please 'Mark as Answer' - many thanks
Sharker Khaleed Mahmud (MCPD)
Software Developer
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
Follow me on Twitter :: www.silverlightips.net