waveform-playlist icon indicating copy to clipboard operation
waveform-playlist copied to clipboard

Pause event does not include pause state

Open amit opened this issue 1 year ago • 0 comments

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!

amit avatar Dec 23 '23 20:12 amit