Files
libnovel/scraper/internal
Admin 9388a355e5
Some checks failed
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled
fix: show paused state instead of error when autoplay policy blocks play()
When the browser blocks audio.play() with NotAllowedError (no user gesture),
the player was surfacing an error badge and the user had no hint it was ready.
Now onCanPlay catches NotAllowedError specifically and calls setPaused() so
the audio element keeps its src and the user just needs to tap play once.
2026-03-02 19:18:28 +05:00
..
2026-02-26 12:56:25 +05:00