Ticker. The examples below use @blinn-motion/dom, but the API is
identical for Canvas, React (via a ref) and React Native.
Play, pause, toggle
Seeking
Looping
Speed
Set the playback rate with therate option (a multiplier on real time):
Build a scrubber
Useonframe to keep a slider and timecode in sync, and seekFraction on input. Pause while
the user drags, so playback doesn’t fight the scrub.