Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

MediaPlayerElement needs a better sample #106

@Symbai

Description

@Symbai

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:

  • October 2018 Update (17763)

App min and target version:

  • October 2018 Update (17763)

Device form factor:

  • Desktop

Visual Studio

  • 2019 (version: )

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions