Multi-state button?

I would like to make two buttons:

Mute / Unmute: The button should mute any audio playing and show an icon of a mic with a line through it. When it is clicked and audio is muted, the button should have an icon of a mic on it and when clicked, turn the audio back on. Pause / Play: The button should pause the whole slide (auto-playing video also) and have a pause icon on it. When clicked, it should have a play icon and resume the slide (auto-playing video also).

Read the full story by

Tags:

RELATED READS
Image hit boxes not resizing/repositioning with image animation via GSAP Learning Technologies Awards 2018: gomo-designed learning projects shortlisted in five categories (press release)
We are updating our Privacy Policy, so please make sure you take a minute to review it. As of May 25, 2018 your continued use of our services will be subject to this new Privacy Policy.
Review Privacy Policy OK