Trouble Implementing Playlist with AudioPlayer #12
Replies: 1 comment
-
Thanks for trying out the plugin. You are probably getting an error when you are creating each song in the playlist as you can only have one audio file registered at at time with Unfortunately the plugin wasn't designed with playlists in mind. A workaround for now would be to only create two audio sources, one for a playlist item and one for the background audio. Then use the Supporting a playlist would require some design changes (would use native playlist functionality) and is currently out of scope of what we want to offer at this time. We'd be open to working on it if someone wants to fund the dev time to do it 😀 Someone else was trying to do a playlist over here too - #7. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am using your plugin to create a playlist of songs that play when clicked like a button.
But I have a problem: when I create each song with AudioPlayer.create, there doesn't seem to be any issue, and when I click the button for the first song, it plays. The problem occurs when I click any other button for another song, and I get the following error:
The issue is that I don't understand the order of the plugin's logic. I'm attaching my code. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions