v1.3.0
Features
- Configurable thumbnail output — set the generated thumbnail's
template,prefix,suffixandextensionviayolu.video-thumbnail.*config options. Defaults keep the existing{videoname}_thumb.jpg+thumbbehaviour. Empty prefix/suffix reuses the video's basename; supported extensions arejpg,jpeg,png,webp. (closes #2)
Fixes
- Black thumbnails for WebM in Safari — the thumbnail is now captured from the same preview canvas the editor sees instead of decoding the video a second time in a cold element, so the saved image always matches the visible frame. The capture path is additionally hardened with
requestVideoFrameCallbackand seek/metadata timeout fallbacks. (closes #1) - Run teardown/cleanup under Kirby 4 (Vue 2) as well by adding the missing
beforeDestroyhooks.
Thanks to @jakobgrommas for the report and PR that shaped these changes, and to @medienbaecker for the original fork fix.