How to play video in MAUI?

可 可 21 Reputation points
2022-05-20T04:11:20.923+00:00

I'm trying to write an app using Maui, but I haven't found the relevant function of how to play video in Maui. How can I implement it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
0 comments No comments
{count} votes

Accepted answer
  1. paramjit 276 Reputation points
    2022-05-21T01:27:32.917+00:00

    As per discussion over here the video player is not implemented yet. There is a plan to include one in the community toolkit in the future. All the third party packages which have support in Xamarin.Forms are still not ported to Maui. You can try Xamarin.CommunityToolkit.MauiCompat which is a clone of Xamarin Community toolkit adapted to work with Maui.

    You can also try Webview or Maui Blazor Webview to play Video in the browser.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mielesplayz 281 Reputation points
    2022-09-27T14:30:52.823+00:00

    Here is a repo of someone who managed to create it:
    https://github.com/davidbritch/dotnet-maui-videoplayer

    1 person found this answer helpful.
    0 comments No comments