How can I show a video in my view [.Net MAUI] - maui

Hi I am currently starting to work with .Net Maui for a project that I am starting I need to show a video in my view. How can I display a simple media player and show a local stored video. In the docs I didn´t find anything about that. I hope anybody have a solution for that

Related

How to build a Flutter app for video editing with pause, shape annotations, and saving features?

I want to build a Flutter app that allows users to edit videos by pausing at any frame, add shapes such as arrows, circles, or any custom shapes on the video by choosing the shape and add it to the desired position in this frame (the user should add it by finger),this frame will be paused for some specific seconds then the video continue, and save the new video. What is the best way to implement this functionality if possible?
the image below for a pc program clarifies what I want:
video editor for windows
Specifically, I'm looking for suggestions on:
How to add shape annotations to the video?
How to make elongate the edited frame for a specified time
How to save the edited video
Any code snippets, tutorials, or examples would be greatly appreciated. Thanks in advance!
I've tried searching for packages or libraries that can help me achieve this, but haven't found anything specific(i found ffmpeg for flutter but I couldn't find how to use it to add the overlay for specified time and for choosing the position by finger ) . I'm also not sure about the best approach to implement this feature. Can someone provide some guidance on how to proceed?

How to create a custom video palyer in Flutter?

I need to create the following video player for my app: Screenshot from Netflix. I need a start/pause button, a back button, the title of the video, and a time indicator. The video should also always be in landscape mode. I've already found a lot of video players in flutter but I haven't found a way to modify them. If anybody knows a good library, a tutorial, or has some source code it would really help me out, thanks.
I think your best bet is using the video_player package, as it's the most bare-bones package out there. You can make the player all to your liking by using the Stack Widget, having the video at its base and any other elements on top of it. It should be very doable; only the progress indicator is kind of complex, but it's not too bad.

How to create miniplayer like youtube with flutter?

I have been trying to implement YouTube like mini player in my flutter application and have stuck. Apparently previous Stack Overflow solutions of using mini player package have not worked out for be as the video disposes once I open video in full screen mode.
I have been following https://www.youtube.com/watch?v=umhl2hakkcY tutorial for achieving so but with the actual videos. I am using better_player for video playback.
Implementing the mini_player with better_player could become very hard because it would want individual controllers, what I found effective is to use https://pub.dev/packages/pip_view package and implement it from the page level.
This will give a much easier solution and a better pip.

embed video in a view controller ios

I have a json file which includes data and between this data I have a video field.
how can I embed a video object in a view controller, what shall I put in the interface builder??
I cannot find video object in the objects existed on the right side.
see below:
Shall I add some libraries? I need to help me how can I play a video object on my application.
I need your help please.
Just load the files into UIWebView, it can handle both videos and PDFs.
OR
https://developer.apple.com/library/ios/#qa/qa2010/qa1240.html
There is really good class for it VideoPlayerKit. Using VideoPlayerKit is easy to use. All controls, progress bar, and airplay are already set up.
This is example's screen

IPhone disable/hide scrubbar mpmovieplayercontroller in fullscreen mode

I'm creating an iphone app with video clips (among other things) where I need to play one or more ads before the actual video clip. Naturally my client doesn't want users to be able to fast forward during the ads but at the same time they must be able to exit the view so I cant set controlStyle to MPMovieControlStyleNone.
I would prefer not to hack the default view and remove the scrubbar so it seems my only option is to implement a custom bar with a single "Done"/"Back" button.
I've googled my eyes out trying to find example code for this, but no dice. I've seen similar questions posted here as well but no answers are given that could help me out. I'm a novice IOS developer and could really use som help with this (custom control bar with single "Done" button for fullscreen MPMoviePlayerController that shows/hideson tap OR disable scrubbar in an acceptable fashion – in fullscreen mode).
Anyone done this before or know where to find some example code? Thanks!