Detect end of audio file and trigger workflow

I have built an audio player in my app using a little bit of javascript and Toolbox (none of the plugins suited my needs). So far it is working well. I can load up and start playing a list of songs. I am currently stuck however in detecting when one song ends and then triggering a workflow so I can point to and play the next song in the repeating group. I suspect that I can make something work with Toolbox Javascript to Bubble and Expression, but I have hit my coding limit. I am not sure what script is necessary (I think I need an event listener) and I am also not clear on how to run my script and trigger a workflow.

I know that you all know. Any help is greatly appreciated!

Ian

This topic was automatically closed after 70 days. New replies are no longer allowed.