Playing Video with .NET MAUI on Windows
Windows was the missing piece of David Britch’s cross-platform Video control because WinUI 3 lacked media playback — until WinAppSDK 1.2 preview added MediaPlayerElement and MediaTransportControls. This post adds Windows support.
What you’ll learn
- New WinUI media types — using
MediaPlayerElementandMediaTransportControlsfrom WinAppSDK 1.2 preview - The Windows player — a
MauiVideoPlayerderiving fromGridand hosting the media element - Full cross-platform playback — remote, embedded, and file-system videos across all platforms
- Simplifying the design — why he removed the
IVideoandIVideoHandlerinterfaces after realizing they weren’t needed
Read the full post for the reasoning and a link to the updated control.