Audio Play Button Event? #3437
vegastriguy
started this conversation in
Anything Else
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have quite a few wordpress websites (about 50) where I use this waveplayer plugin for voiceover audio files and I want to measure how many times the button gets clicked. Bogdan tried to help me by implementing a temp css via a browser but I cannot get it to work and the plugin developer is not helping me. I tried via css but the string will not populate.
Here is some JS from the plugin....would I add something to this script?
playing() {
this.audioProcess()
const instance = this.getCurrentInstance()
if ( instance ) {
instance.playing()
instance.node.classList.remove('seeking')
}
if ( this.node ) {
this.node.classList.remove('seeking')
this.node.classList.add('playing')
}
this.trigger( 'play' )
this.status = 1
}
I added this css to the plugin but, it does not populate correctly. Any ideas?
.wvpl-icon .wvpl-play .plausible-event-name=Audio+Listen {
}
Beta Was this translation helpful? Give feedback.
All reactions