Show thumbnails of videos in media section #20891
Replies: 2 comments 6 replies
-
|
That's a good idea! One important architectural thing to fix beforehand is that collection views (like the media library grid) do not know which content types they are displaying. They don't know what a "Video" is, or what an "Image" is either, for that matter. That is why we ask the server for each media item, "Hey server, here is the GUID, what kind of thumbnail can you resolve for that, please?", and for image types, it will reply with an image generated through ImageSharp. You can intercept these calls and add more providers to the list. For example, if you had a way to generate an image from a PDF file type, you could add that to the mix. One way to resolve into Another way is to make the Backoffice aware of its media types in collection views, and more importantly, what they "mean," and then have a way to add extensions to the preview of grid items. We actually sort of do this already with the media preview you see, when you go into the details view of a media item, but that is based on the source file mimetype, for instance, |
Beta Was this translation helpful? Give feedback.
-
Not saying Umbraco should ship with that, but if we could make it extendable somehow, that would be very nice! |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
This isn't very helpful to an editor:

Can we show the video without controls, autoplay etc. instead?
If you put a video tag, with just a src pointing to the video, most browsers will download the first frame and show that.
Beta Was this translation helpful? Give feedback.
All reactions