Sorry, we don't support your browser.  Install a modern browser

Panel: built-in video poster support

The user experience of videos can be greatly improved by posters that already show a frame while the video loads. I regularely add poster support to Kirby websites and use different techniques:

a) I add a hint that the editor can upload clip.jpg for clip.mp4 and I then detect it.
b) I add a file picker to the file blueprint to directly assign the poster.

Both techniques are not ideal:

a) there is no ideal place to put this hint. Usually I put it to where the video gets picked.
b) I use this less often because most times I don’t have a blueprint just for video files and I wouldn’t want to polute the default file blueprint.

I’m wondering if it makes sense to include a native poster picker for video files.

2 years ago

And why not a own field for the poster to use it with the paramter array?

2 years ago

I just have a poster field for video files and it works great. Using the icon query you can even set it as file preview. I don’t think there needs to be a separate option for that.

2 years ago
1