sveltia / sveltia-cms

Alternative to Netlify/Decap CMS. Fast, lightweight, Git-based headless CMS. Modern UX, first-class i18n support, open source & free. Made with Svelte.
MIT License
955 stars 49 forks source link

Ability to upload Videos to Media Gallery #33

Open Arbee4ever opened 1 year ago

Arbee4ever commented 1 year ago

I've noticed that it the media gallery is somewhat able to handle Videos. For example, it shows the video (without a thumbnail) in, but can't play it or provide full information about it in the Sidebar, for example the Length is listed as "-". Is this a partial implementation of Support for Videos that is still coming? Would appreciate it, if it fully worked sometime.

Arbee4ever commented 1 year ago

It would also be interesting to see if it was possible to make it render Youtube Thumbnails if a Youtube Video URL was added using "External Locations > Enter URL"

kyoshino commented 1 year ago

Thanks for the report! I’ll test video handling and fix any issues. It’s a good idea to add better support for YouTube 👍🏻

kyoshino commented 1 year ago

Sorry for my late response here. Videos are now playable in the media gallery sidebar with the duration displayed. Not sure if all video files are showing a thumbnail. More improvements to come! 🤞🏻

media-gallery-video