Forum Xamarin.Forms

How to display video thumbnail in Xamarin Forms ?

ksoluckyksolucky USMember ✭✭

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.


  • AwodamAwodam ATMember ✭✭

    @KartikSolanki same question :)

  • TonyDTonyD USMember ✭✭✭

    Our app has a video thumbnail selector and we basically just use a WebView and inject custom HTML into it. It was rendering faster than having multiple video views.

Sign In or Register to comment.