Cockpit-HQ / Cockpit

Cockpit Core - Content Platform
https://getcockpit.com
Other
388 stars 47 forks source link

🐛 Asset preview doesn't show videos #192

Closed mountainash closed 5 months ago

mountainash commented 5 months ago

Fields [in a component] with Type=asset, don't show a preview when the selected asset is a video file.

This is inconsistent with how static image assets work - they load for previewing.

What's worse for the UX is that a "loading" indicator shows - it would be more honest to show a information label "Video preview unavailable" (or similar).

Example showing a Video asset

Screenshot 2024-06-05 at 09 37 02 Screenshot 2024-06-05 at 09 35 44

Example showing an Image asset

Screenshot 2024-06-05 at 09 37 49 Screenshot 2024-06-05 at 09 37 32
aheinze commented 5 months ago

You need to adjust the cors settings in your aws s3 bucket.