Hey everyone,
I am using the zeroqode advance audio player plugin, the plugin should autoplay songs in list automatically.
But what is happening, is its playing first two songs and missing the third one and so when playing in order. I tried to check if I am making a development mistake, but this is not the case.
The issue is in the way plugin is playing the order of music , @ZeroqodeSupport , can you please look into this .
Thanks so much for reaching out to us and for using our plugins
We’ve reviewed the application you mentioned in your previous message, and this behavior is indeed quite strange. Could you please provide us with screenshots or a screen recording using Loom.com that shows how you’ve set up the plugin element and the repeating groups along with the actions?
We’d love to take a closer look at this behavior and get to the bottom of it!
Hi, Zeroqode! I am having trouble figuring out how to automatically stop the player after it’s played the last audio file in a playlist. I want the player to advance automatically through a list of say 3-5 tracks, and then stop. I set the autoplay to use, and this works as expected.
However, the player then starts at track 1 and plays the list again. How can I get it to stop once it has played the list? I looked for events or whatever, but have not been able to puzzle it out. Thanks!
Thanks. I’ve tried to hack something together to make it stop at the end of the list but no luck as of yet. A setting would be great, and hopefully not too difficult to add.
After checking with the dev team, we unfortunately confirmed that there isn’t currently any event, action, or state available to detect when the current playlist has finished.
However, you can work around this by using some custom workflows and conditions in Bubble. Here’s a general suggestion:
Track the current playlist position: Set up a custom state (e.g., currentTrackIndex) to keep track of which track is playing.
Monitor when a track ends: Use the plugin’s “Track Ended” event to detect when a track finishes.
Stop playback conditionally:
Before advancing to the next track, check if the current track index matches the last track in the playlist.
If it’s the last track, stop the player from looping back or advancing to the next track.
This approach should allow the player to stop after the last track plays instead of restarting the playlist. Please note, that this is a general suggestion from our dev team, and we haven’t tested this setup on the demo page.
If you’re looking for further assistance with this or need help integrating it into your app, we recommend either posting in the freelance section or submitting a request to our team through our webpage.
Additionally, if you’d like new features or functionalities added to this plugin, we invite you to sponsor the development. You can start by filling out the Sponsoring Plugin Features Form.
Once we receive your request, we’ll review it and provide an estimate for the time and costs involved. Please include all the details for improvements you’d like, and our dev team will analyze them.
We look forward to working with you to further enhance the plugin.
Thanks for the detailed response. In fact, I did find my way through to a very similar solution. Great minds.
I would say, though, that you might consider unilaterally making the update. I don’t believe in most audio playlists the default behavior is to loop indefinitely. At least on Apple Music, say. Playlist ends, and it stops. So would be a nice setting to have.
We are glad to hear that you found a solution to your problem.
We will add this request to the list of plugin improvements and our dev team will verify if the plugin library allows that and check how feasible it will be to include it in the next plugin update.
Unfortunately, we cannot provide any timeframes, since this feature request currently holds a low priority for our team.