Compatibility: Compatible on most Shopify themes, from Debut to Dawn 2.0.
Add your favorite music in your website and let your customer hear it. Google chrome does not allow automatic audio playing without the permission of the user. Add a music player that pick up where it left off when changing website pages.
To start:
1. Go to your Admin store > Online store > Themes > Actions > Edit code.
2. Under the section folder, create a new section file, name it "music-player", then paste the code below.
3. In the Layout folder, open the theme.liquid and find the {% section 'header' %}. Paste the code below before the header code.
That's it. Enjoy the music.