Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Changed to use onplay & onpause events instead #21

Merged
merged 2 commits into from
Oct 23, 2021

Conversation

applejag
Copy link
Owner

Changed to use the events onpause and onplay to play the sounds and update the web UI, instead of only when clicking the on-page button.

This means that if you pause via headphones or custom pause button on your keyboard, then the beep sounds now plays and the web UI updates accordingly.

Closes #13

@applejag applejag added the enhancement New feature or request label Oct 23, 2021
@applejag applejag self-assigned this Oct 23, 2021
@applejag applejag merged commit 6f86cd2 into master Oct 23, 2021
@applejag applejag deleted the feature/use-audio-play-events branch October 23, 2021 14:00
@applejag applejag mentioned this pull request Nov 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pausing via native controls doesnt pause in webpage
1 participant