This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web: Check for errors before using preloaded song.
Make the music-player component check that the preloaded audio element didn't report any errors before trying to use it. When preloading fails due to a network error, the element appears to get stuck in a state where it throws "The element has no supported sources." exceptions even after the network is back. Fixes #16.
- Loading branch information