Install SmartVideo on Squarespace
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 swarmcdnkey 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 will know that a video has been fully converted by SmartVideo when, while hovering over the Video Acceleration icon on the player, the popup box says Video Acceleration: On

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.

4. Click Code Injection.

5. Paste the snippet into the Header textbox.

6. 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.