Skip to content

Releases: yolu-ch/kirby-video-thumbnail

v1.3.1

Choose a tag to compare

@movingwater movingwater released this 23 Jul 09:25

Performance

  • Smoother frame scrubbing — the live preview now draws immediately on each seek instead of waiting for the frame-decode guard the Safari fix (1.3.0) added on every scrub step, restoring responsive scrubbing. The thumbnail blob is encoded once when you settle on a frame rather than on every intermediate frame.
  • Faster WebM scrubbing — WebM (VP8/VP9) isn't hardware-decoded on most hardware and has sparse keyframes, making exact-time seeks expensive. Dragging now uses video.fastSeek() (Safari/Firefox) to snap to the nearest keyframe for a responsive scrub; the exact frame you land on is captured on settle. MP4 keeps exact seeking, so its live preview stays frame-accurate.

The saved thumbnail remains a correctly decoded, exact frame for all formats — the Safari-safe capture is preserved for the settled frame.

v1.3.0

Choose a tag to compare

@movingwater movingwater released this 21 Jul 22:28

Features

  • Configurable thumbnail output — set the generated thumbnail's template, prefix, suffix and extension via yolu.video-thumbnail.* config options. Defaults keep the existing {videoname}_thumb.jpg + thumb behaviour. Empty prefix/suffix reuses the video's basename; supported extensions are jpg, 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 requestVideoFrameCallback and seek/metadata timeout fallbacks. (closes #1)
  • Run teardown/cleanup under Kirby 4 (Vue 2) as well by adding the missing beforeDestroy hooks.

Thanks to @jakobgrommas for the report and PR that shaped these changes, and to @medienbaecker for the original fork fix.

v1.0.1

Choose a tag to compare

@movingwater movingwater released this 24 May 20:53
c137db0
Bump version from 1.0.0 to 1.0.1

v1.0.0

Choose a tag to compare

@movingwater movingwater released this 22 May 19:43
fix image path

v0.0.1

Choose a tag to compare

@movingwater movingwater released this 21 May 22:47
update build