Hi All -
I am currently using ZEROQODE Waveform Audi player. I am generating a repeating group and pulling tracks from a separate table, to build the playlist. On the Wave player side, i am unsure how to trigger the cell of the group (playlist), that has the track i want to play.
Anyone have any ideas?
@ZeroqodeSupport are usually pretty good and will help with this I am sure.
Hi @danimaltex26 ,
Thank you for reaching out and for your recent purchase!
To integrate the Waveform Audio Player with a repeating group (RG) to play specific tracks from your playlist, you can follow these steps:
1. Ensure Repeating Group (RG) Setup
-
Your Repeating Group should be configured to display the list of tracks from your database.
-
Each track should have a unique identifier or a URL that the Waveform Audio Player can use as its source.
2. Workflow to Trigger the Player
- When a user selects a track from the RG, use a workflow to:
-
Update the Source: Set the URL or track ID of the selected track as the source for the Waveform Audio Player.
-
Trigger Playback: Use the âPlayâ action of the Waveform Audio Player to start playing the updated track.
-
Let us know if you need further clarification or examples!
Looking forward to your feedback.
Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Hi @danimaltex26 ,
We wanted to follow up and see if youâve had a chance to go over the steps we shared earlier. If the issue persists or if thereâs anything else youâd like help with, please donât hesitate to let us know.
Weâre always here to assist and would be happy to help address any challenges you might be facing
Looking forward to your reply!
Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Hi Guys -
I have a follow on question. I have been able to trigger the song to âloadâ into the player from the RG. In my workflow, i am using the load action. Then i try to follow on with the play action, but it will not auto-start.
So that loading works. Point of note - It doesnt load anything until i press the RG cell. Then it loads, and auto plays - FRIST time only.
Then, when i press a different cell, it DOES load, but does NOT auto play.
This is my work flowâŚ
Desired result is that it autoloads on page load (Does not play). But when i chose and press a song on the playlist, it should play (i should not have to hit the play button again)
Please advise,
Dan
PS - I noticed your waveform player is INSIDE your RG, is that necessary?
Hey @danimaltex26 ,
Thanks for reaching out!
Weâre glad loading from your repeating group (RG) is working! Letâs fix it so your playlist auto-loads on page load (without playing) and auto-plays each time you pick a song.
We see from your screenshots youâre using a dynamic link to Current cellâs Audio_fileâs audio_file URL, which looks good. The issue is likely that after the first play, the playerâs state (like paused or stopped) prevents auto-play on the next load.
Quick Steps to Fix
- Keep the Player Outside the RG: You asked if the player needs to be inside the RGâitâs better outside, so one player updates with each cell selection. It looks like youâve got this set up already, but just confirm!
- Tweak Your Workflow: When you press an RG cell:
- Add a âstopâ action to reset the playerâs state.
- Then âloadâ the new track with Current cellâs Audio_fileâs audio_file URL.
- Finally, âplayâ the track. If thereâs a âTrack loadedâ event, wait for it before playing; otherwise, add a 1-second delay with Bubbleâs âpauseâ action.
- Auto-Load on Page Load: For page load, add a âWhen page is loadedâ workflow to âloadâ a default track URL (like the first song), but donât âplayâ it.
Give this a shot and let us know how it goes! If itâs still not auto-playing after the first song, weâre happy to dig deeper.
Regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Good morning guys -
I followed the above, but have a few more bugs.
First:
How do i expose the song name dynamically outside of the RG, like under the wave? Should i do that from a field in the db as i upload the track (by adding the track data)
I have fields in the database, but donât have them populated as the Upload part is not done yet.
I have a few more issues, but one at a time
FYI - I followed the guidelines on loading the first track. I noticed the behavior that when i switch to the (collapsed/exploded) group where the audio player is, it doesnt always apear. I added a delay of 2 sec to load, but still hit or miss.
All else is spot on⌠thanks for all the help!!
Dan
Hey @danimaltex26,
Good morning, Dan! Glad the initial loading is working!
To display the song name dynamically under the waveform (outside the RG), set the playerâs âTrack Nameâ field to Current cellâs Audio_fileâs name in your RG click workflow. Since your upload isnât done yet, make sure each song in your database has a name field once you set it up. If the player doesnât support this, use a text element under the waveform, bind it to a state like âcurrent_song_name,â and update that state when a song is selected.
For the player not appearing reliably and auto-play issues:
- Create a state âcurrent_trackâ (type: text) to store the selected songâs URL.
- On RG click: Set âcurrent_trackâ to Current cellâs Audio_fileâs audio_file URL. If the playerâs group is visible, stop the current track, load the new one, and play it.
- When the group is shown: Add a âWhen group is shownâ event, wait 1 second (using a âpauseâ action), then stop, load, and play âcurrent_trackâ if set.
- On page load: Load the first track into âcurrent_trackâ without playing.
This should fix visibility and ensure auto-play works consistently.
Give it a try and let me know how it goes! If you need more help, the plugin docs might have extra tips: Waveform Audio Player Plugin Documentation.
Cheers,
Support Team
Browse all Zeroqode Plugins for Bubble