How to play music continuously in different pages?

I try to add a music as the background music when visitors browse different pages, music won’t restart. It’s like a music for whole site but not one page. I’ve used the ‘show all pages’ button, which makes every new page will restart play the music from the begining. This really confused me, is there any method or code to achieve this? Thanks

That is not possible if you don’t use frames. Then play music in the parent frame and change content in the children frame. If you reload a page it will restart.

Thanks for your reply. Is here has any sample code for this? I try to add codes in html 5 like:

<audio
scr=“https://open.spotify.com/xxxxxxx
autoplay=“true”
loop=“true”

but the music won’t play.

Another code:

music works but loading pretty slow

Hi,
You can simply add a track player to the header / footer of your page. For further questions regarding this feature, please contact Wix Support team .

Best,
Tal.

add to the header works! Thanks

1 Like