Hi Xperts,
I need to Add an Image or Video in Single project , How I can do that one . Here I added sample project . using Rg.popup.plugin or any other idea ?

Hi Xperts,
I need to Add an Image or Video in Single project , How I can do that one . Here I added sample project . using Rg.popup.plugin or any other idea ?

Hello,
Welcome to our Microsoft Q&A platform!
For this, you can use nuget Xam.Plugin.Media to achieve this in an app.
This library has a lot of legacy code that is extremely hard to maintain and update to support the latest OSes without a major re-write.
And you can also check the sample included in link MediaPlugin.
When we deploy it on our devide, the result is:

Best Regards,
Jessie Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Can we compress the image or Video using Xamarin.Essential.Filepicker ? @JessieZhang-2116
When we check Photo & Video Settings ,we could find we can compressing Photos by specifying multiple options to reduce the size and quality of the photo that is taken or picked. For example:
var file = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
{
PhotoSize = PhotoSize.Custom,
CustomPhotoSize = 90 //Resize to 90% of original
});
i tired this But i worked in this Package : xamarin.Essential.Filepicker. But I don't have idea to compress image or video here ?
Can you guide me on this package ?
Yes,current xamarin.Essential.Filepicker don't have such feature. But there is a known issue about this, you can follow it up here: https://github.com/xamarin/Essentials/issues/1640 .
7 people are following this question.