Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pause event does not include pause state #255

Open
amit opened this issue Dec 23, 2023 · 0 comments
Open

Pause event does not include pause state #255

amit opened this issue Dec 23, 2023 · 0 comments

Comments

@amit
Copy link

amit commented Dec 23, 2023

Question: How do I intercept mute/unmute and take different actions based on mute state?

I have the following code:

    this.playlist.ee.on("mute", function(track) {
      console.log("Track: " + track.name + " muteFlag is " + track.data);
    });

But I am confused what attribute on track object can I use to find the mute state (whether the track will be muted or unmuted)? Web inspector did not reveal anything which can tell me...

Thanks!

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

No branches or pull requests

1 participant