Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Fade out audio when button is clicked

$
0
0

I was wondering if it's possible to fade out audio by pressing a button, and fade it back in by pressing another.

 

I have an audio file that autoplays on load and have used sym.$("audio")[0].muted = true; on a button to mute it, but need to fade it out over 1000ms or so.

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>