Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Make AudioPlayer._state public #46

Closed
ThinkDigitalSoftware opened this issue Jun 25, 2018 · 1 comment
Closed

Make AudioPlayer._state public #46

ThinkDigitalSoftware opened this issue Jun 25, 2018 · 1 comment

Comments

@ThinkDigitalSoftware
Copy link

Could you make this public so we can read the current state instead of having us manage it manually? I don't see why these 2 shouldn't be tied together since we shouldn't need to play audio and say that it's paused. I'm having an issue where I've told it to play, I switch tabs and come back and it's still playing, but my own state variable shows paused because the variable got reset. I'm working on a way to get around that, but I think it would be much less work if the state variable was accessible from outside the class.

@ThinkDigitalSoftware
Copy link
Author

Oh, it already is 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant