A full tutorial for an audio player is on the roadmap, but if you have the URL for your audio, you should be able to just execute Play audio with the URL to start playing it, and then Stop audio to stop it.
After spending about a week on Appgyver I did find the play/stop functions but it’s still not working. So I am missing something.
I’m going to attach screenshots. Basically I have the database linked to Airtable, when you click on each image, they go to a description page and then hitting play goes to the audio player page. I am using an audio URL. So I need it to read the database Audio URL as a single data collection based on whichever one is clicked. This happens when pressing play/stop.
I did get it to read the background in the container for that page so I think the data is set up. It’s a flow function in the logic part.
Hi @kelcy, do you still have these issues? If so, have you tested to use the Play/Stop audio on some static URL from your data? If it works there, it might be easier to pinpoint the issue in logic. And if it doesn’t work, it would show that the flow function would not be able to use the type of URL your backend provides (that might be issue in the flow function and not the backend’s fault also)
If you need more help, could you tell me more about the logic you’ve used in your app (perhaps with screenshots from Composer)?
Hi Kelcy,
i am about to setting up a similar app like you and i am wondering how audio files can be embedded. Your app already looks quite good and i wanted to ask if you can maybe send me a screenshot or some guideline how to embed an audio file.
Thank you for your reply. This is what I already did but still, it is not working.
I am wondering if dropbox is not a supported provider?! You know more about it?
Hi Kelcy, thank you for your response. You wrote that your audio file was working/playing when you clicked on it? Because when I tap on my icon, there is no sound at all.
We don’t have any ready-made components for this, but I guess it would be possible by using the existing flow functions I think I might try to make a component like that and perhaps a video about it at some point if I have time, but it won’t be until next week the earliest, probably longer, as I’m packed with other work. I’ll let you know.
How I would do it is by using page variables to keep state on whether the audio is playing, and the get playback info flow function etc. to determine the length of the audio and so forth.
Hi! I got quite far actually, but there were some missing features that prevented finishing the component. There’s a thread of me explaining what I did for it though that you can use to help you make your own here