Recommended installation instructions for sites using Squarespace
If you are using Squarespace and editing template code isn’t your cup of tea, we recommend following the instructions in this article.
Account setup:
If you already have a SmartVideo account, scroll down to What happens after I install?
If you do NOT, create your SmartVideo account here. Once registered, you’ll be given a unique key to access the Swarmify API. This Swarm CDN Key is required to configure your site for video delivery by Swarmify.
**Before installing, read the SmartVideo getting-started overview!
**
What happens after I install?
After installing our script into your site’s header, SmartVideo will begin scanning your site for videos. If you’ve enabled Vimeo auto-conversion when generating your snippet (the autoreplace: { vimeo: true } block from the configuration tool), any Vimeo videos on your site will be automatically converted to SmartVideo. See Automatic Vimeo conversions for details.
A video can take up to 30 minutes to convert to SmartVideo depending on the length and resolution of the video file. You’ll know a video has been converted when it plays in the SmartVideo player — look for its floating rounded control bar in place of your original embed. For more ways to confirm it’s working, see How do I know SmartVideo is working?.
Note on YouTube: Auto-conversion from YouTube is currently paused. We’re exploring an importer-style replacement inside the SmartVideo library, but have no timeline to share. For now, download the YouTube video and upload it to SmartVideo storage through your SmartVideo dashboard, then place it on your page with a SmartVideo tag.
If you haven’t enabled Vimeo auto-conversion, or you don’t have Vimeo videos on your site, our script won’t transform your current videos; they will have to be manually placed in a SmartVideo tag.
No worries, it’s not as difficult as it sounds 😉
Installation:
- Visit the Configuration tab in the Dashboard, follow the on-screen instructions, and copy the snippet to your clipboard.
- Navigate to your Squarespace dashboard and click Settings.

- Click Advanced.

- Click Code Injection.

- Paste the snippet into the Header textbox.

- Click Save.

And that’s it! 🎉
To add videos directly to your site, click here to learn more about how to add a video to your site.
Evaluating SmartVideo for Squarespace? See the Squarespace video hosting overview.