T
TanStack13mo ago
genetic-orange

Caching audio & video requests

Is it possible to use TanStack Query as the src attribute of a <video> or <audio> element? I'm working on a product where I have a single, top-level <audio> element, and many Playback ▶️ buttons that need to update the <audio> src. It's very likely that they will replay audio files, so caching each one is ideal. Thank you 🙏🏿
1 Reply
foreign-sapphire
foreign-sapphire13mo ago
I guess 😅

Did you find this page helpful?