Only when... condition with audioplayer

Hello,

I would like to create a new thing in my db but only after my audioplayer plugin has played min. 30 second of an mp3. To make it brief : if the song is played 29 second then stopped, Create new thing doesn’t occur. If the song is played 30 seconds, Create new thing occurs.

I was thinking of Add a pause before next action (30000) in my WF, but the WF won’t stop if the user decides to make another action on the page…

image

Any suggestion on how to proceed to get this work?

Thanks !

Philippe