Matt Simoncavage
Posts: 0
Joined: Thu Jun 04, 2015 7:10 pm

Showing an element if audio component is playing

I have an audio component that plays throughout my app in the background. I found out how to do this here: https://getsatisfaction.com/apperyio/... and it works great.

My question is, is it possible to have a page load event that runs javascript to hide an element on the page only when the audio component is playing?

Thanks!

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Showing an element if audio component is playing

Hello Matt,

Yes, it is possible. Please look at "play" event of the audio component: https://developer.mozilla.org/en-US/d...

Return to “Issues”