Add loading indicator when audio is still loading/buffering
Closed this issue · 1 comments
samwisekind commented
Possibly implement a spinning outline on the play/pause button? Can turn the button into inline-SVG and animate the separate layers (and fill/mask when hovering).
samwisekind commented
Resources:
- https://developer.mozilla.org/en-US/docs/Web/Events/waiting
- https://developer.mozilla.org/en-US/docs/Web/Events/canplay
- https://developer.mozilla.org/en-US/docs/Web/Events/canplaythrough
- https://developer.mozilla.org/en-US/docs/Web/Events/loadedmetadata
- https://developer.mozilla.org/en-US/docs/Web/Events/loadeddata
- https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/readyState