Playing Background Sound on Squarespace
Your browser doesn't support HTML5 audio
A popular question on Squarespace Answers is about adding some background music to page. This is not the best UX to autoplay something on pageload, but we may give a try.
Of course you can add a Code Block to the page for this, but the default Audio Block is far more convenient And here, I’ll show you how easy to do this trick.
Step 1.
First of all - add Audio Block on the page and upload the file you want.
Step 2.
Then, go to the Advanced Tab and add the code below:
You’re done!
After adding the code to Page Injection Tab, the background sound will start only on this page.
Get all plugins for one price. The Most Advanced All in One Squarespace Plugin for Professional Website Designers.