question

95976885 avatar image
0 Votes"
95976885 asked Mielesplayz edited

How to play video in MAUI?

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?

dotnet-maui
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

paramjit-0569 avatar image
1 Vote"
paramjit-0569 answered paramjit-0569 edited

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Mielesplayz avatar image
1 Vote"
Mielesplayz answered Mielesplayz edited

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.