Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to display video thumbnail in Xamarin Forms ?

$
0
0

Hello All,
I am using MediaPlugin to capture Images and Video in my app and I was able to successfully display image thumbnail from the memory stream as below:

imagegrid.Children.Add(new Image
{
Source = ImageSource.FromStream(() => file.GetStream())
}, gridcols, gridrows);
if (Device.OS == TargetPlatform.Android){file.Dispose();}

I want to show the video thumbnails as well in my app. The thumbnails are not clickable to I don't want the video to be played, just the thumbnail to confirm that video has been added. Am able to successfully save the video in my phone memory stream but I have no idea how can I display video thumbnail in Xamarin.Forms. Any idea?

Any help would be greatly appreciated. Thank you.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>