supermedium / beatsaver-viewer

⚔️ Web-based viewer for Beat Saver maps, built with A-Frame and JavaScript.
https://supermedium.com/beatsaver-viewer/?id=811-535&difficulty=Expert
MIT License
192 stars 32 forks source link

Allow skipping forward/back when the song is stopped #17

Closed n3tman closed 5 years ago

n3tman commented 5 years ago

Currently when you click anywhere on the seekbar when the song is not playing, an exception is displayed in the console:

build.js:145 Uncaught DOMException: Failed to execute 'stop' on 'AudioScheduledSourceNode': cannot call stop without calling start first.
ngokevin commented 5 years ago

Fixed, thanks! https://github.com/supermedium/beatsaver-viewer/commit/552917044d472290f202e92dfd489362a87c27a7