This is a migrated thread and some comments may be shown as answers.

How to show video preview in Grid cell?

1 Answer 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Adil
Top achievements
Rank 1
Iron
Veteran
Iron
Adil asked on 04 May 2020, 01:24 PM

 Hi 

I want to show 2-3 seconds max 2-3mb size video preview in grid cell.

Is it possible?

1 Answer, 1 is accepted

Sort by
0
Accepted
Ianko
Telerik team
answered on 06 May 2020, 06:10 AM

Hi Adil,

You can use a client template in the Grid columns to inject an HTML5 video tag, that points to the source of the video preview. Or you can embed the Kendo MediaPlayer

However, the extraction of an 2-3 seconds video from a full video+ should be handled separately from the Grid. There is no functionality in the Grid, or in any Kendo UI widget that can somehow trim a video. Also, this should be done on the server and the trimmed media to be fetched as a source for the preview player.  

Regards,
Ianko
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
Adil
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Ianko
Telerik team
Share this question
or