Template:Audio
Adapted from CodePen with MIT license.
BGM pauses
- Allow custom styles (especially transform scale). Maybe allow custom class as well?
- Style tweaks.
- Lazy updates to progress bar and time: do not update when audio is paused or not started. <- sort of done: only overhead is a check against the previous playtime
- Lazy loading. Especially helpful for pages with hundreds of audio files. <- not urgent: this reduces latency anyway
- Draggable progress bar and volume control.
- Mobile compatibility test.