I'm submitting a...
Sample app request
Current behavior
MediaPlayerElement has a short sample auto playing a web video
Expected behavior
MediaPlayerElement needs also a sample demonstrating how to play / pause / stop / change volume and set / get playing position from code. Because there is no Play() method for example. And the only documentation I find is about the UWP version which seems to have a play method
https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Controls.MediaPlayerElement
which states:
You can create your own media transport controls by setting AreTransportControlsEnabled to false, and using the Play and Pause methods on MediaPlayer. You can also control a rich set of properties by using the underlying MediaPlayer such as Position, Volume, IsMuted, IsLoopingEnabled, and PlaybackRate.
Environment
Nuget Package(s):
Microsoft.Toolkit.Wpf.UI.Controls
Package Version(s):
6.0.0-preview3
Windows 10 Build Number:
App min and target version:
Device form factor:
Visual Studio