nice! using svg: svelte.dev/playground/2... a bit shorter, but requires js to trigger the animation. not sure if that can be simplified.
sep 9, 2025, 9:15 am • 2 0 • view
nice! using svg: svelte.dev/playground/2... a bit shorter, but requires js to trigger the animation. not sure if that can be simplified.
You can technically update the path with css but that doesn't work in Firefox and safari unfortunately (and it doesn't work in the bad way...it completely breaks and doesn't update at all). I guess updating with JS might be fine because for a video to be controlled by a button you still need it