Question:
I am looking for a way to persist an audio player across multiple page
Product:
I’m using wix editor
What are you trying to achieve:
I need an audio player to stay persistent when I open a new page on my app.
I have an audio field in a collection that is linked to a list on a webpage.
the audio filed is linked to a collection with a bunch of artists, albums and playlist
When the user switch pages for example from one artist to his album,
I would like the music to keep playing or at least start back where it last started without too much delay
Is there a way to do this ? I have tried a few methods but to no avail. Any ideas?
What have you already tried:
MY solution so far is quite buggy, I attached the audio player component to the footer and implemented a bunch of save state to get the last current time of the music and when a new page is loaded set the audio player time to the right timing but it is quite buggy.
Any idea on how to implement in a more stable manner ?
i also so that common ninja propose an audio player that solves this issue
and plays music across all pages without interruption .
I only needed to add embed their custom script in the website wide custom code of my website.
The problem is that it is not connected to my music and I don’t how I can make it interract with my website(e.g make the artist name clickable in order to open the artist page)
Any Idea on how I could create my own similar component that I could integrate in wix ?