Skip to content

v1.1.0

Latest

Choose a tag to compare

@haaarshsingh haaarshsingh released this 08 Sep 05:26
· 4 commits to main since this release

Liquid glass controls and frame defaults

  • Liquid glass under the centre controls. The play and skip buttons now sit on WebGL glass panes that refract the live video frame. The SVG displacement-filter glass remains as the fallback when WebGL is unavailable. The shader ships as a lazily loaded chunk.
  • Sensible defaults. The player is aspect-video w-full overflow-hidden rounded-xl border out of the box, so it reserves its space before the first frame and sits in a page of cards as one of them. Every default is a class you can override through className. The play glyph is larger.
  • Correct duration under SSR. Duration and playing state are seeded from the element on mount and tracked through durationchange, so the readout no longer shows 0:00 when metadata arrives before hydration.
  • Seek tooltip is monospace and clamped to the track edges.
  • Loading skeleton is a soft diagonal streak driven by the Web Animations API, with a reduced-motion fallback.

Fixes

  • The package entry points now resolve to the shipped build. 1.0.1 pointed main, types and exports at src, which was not in the tarball.