Thinkific is a hosted platform for building and selling online courses. Thinkific lets you add scripts to your site through Site Footer Code, so you install SmartVideo there. Thinkific doesn’t document a field in its lesson editors that accepts a raw <smartvideo> tag, so on Thinkific SmartVideo can convert the Vimeo embeds in your lessons where Thinkific runs your footer code; check one lesson first. This guide sticks to what Thinkific documents and says where it doesn’t.
If you don’t have a SmartVideo account yet, create one at dash.swarmify.com/signup. Once you’re registered, head back here to get set up.
Step 1: Get your SmartVideo snippet
- Log in to your Swarmify dashboard.
- Open Player and click Copy snippet under Global install snippet. It’ll look something like this, with your API key in place of
YOUR_SWARM_CDN_KEY:
<script data-cfasync="false">
var swarmoptions = {
swarmcdnkey: "YOUR_SWARM_CDN_KEY",
iframeReplacement: "iframe",
autoreplace: {
youtube: true,
vimeo: true
}
};
</script>
<script async data-cfasync="false" src="https://assets.swarmcdn.com/swarmcdn.js"></script>
Step 2: Add the snippet to Site Footer Code
You need the Site Owner or Site Admin role.
- From your Thinkific Admin Dashboard, go to Settings.
- Select the Code & Analytics tab.
- Paste the snippet into the Site Footer Code field.
- Click Save.
Thinkific runs Site Footer Code on most pages of your site. It doesn’t run on Performance Checkout pages, Communities, or direct messages. See Thinkific’s Site Footer Code guide.
Step 3: Turn it on for the Learner Hub and new Course Player
If your site uses the Learner Hub or the new Course Player, Site Footer Code doesn’t run there by default.
- Go to Settings and select the Code & analytics tab.
- In the Site footer code section, check Also run this code on the learner hub and new course player.
- Click Save.
One checkbox covers both the Learner Hub and the new Course Player. Your scripts don’t run while you edit in the new course builder, only in the learner view and in admin course preview. They also run once when a page first loads, not again as a learner moves between pages. To test it, open lesson A directly, then navigate to lesson B and confirm B’s Vimeo video converted. If it didn’t, contact our support team. Thinkific warns that custom code doesn’t always behave as expected in these areas. See Thinkific’s guide to running footer code on the Learner Hub and new Course Player.
On the classic Course Player, Thinkific says Google Tag Manager won’t fire there, whereas custom HTML or JavaScript might. Preview a lesson as a learner to see whether SmartVideo loads on your site.
Step 4: Convert the Vimeo videos in your lessons
With the snippet running, SmartVideo converts Vimeo embeds on the page automatically. Thinkific’s lesson editors take a link or an uploaded file rather than embed code:
- In the classic course builder, a Multimedia lesson takes a URL and a Text lesson can include embedded video. See Thinkific’s guides to Multimedia and Text lessons.
- In the new course builder, an Embed block takes a link, and content has to allow iframing. See Using Embedded Content in the New Course Builder.
SmartVideo doesn’t provide a standalone video URL or an iframe embed code, so there is nothing to paste into those link fields. Thinkific doesn’t document a lesson field that accepts a <smartvideo> tag, and we haven’t confirmed one. If you need to place a SmartVideo tag rather than convert an existing Vimeo embed, contact our support team before you rebuild lessons.
What happens after I install?
After adding the snippet to Site Footer Code, SmartVideo will begin scanning your pages for videos. Replace YouTube embeds and Replace Vimeo embeds are on by default on the Player page of your Swarmify dashboard, so the snippet includes autoreplace: { youtube: true, vimeo: true }, and if you have Vimeo embeds on pages where the footer code runs, they’ll be automatically converted to SmartVideo — no extra work needed. YouTube conversion is best-effort — some videos convert and some don’t. For playback you can rely on, upload the file to your SmartVideo Library or use another supported video source.
SmartVideo imports Vimeo videos whose Who can watch setting is Anyone. To keep those videos private to your own site while SmartVideo serves them, set Where can this be embedded to Specific domains and list your website’s domain. Password-protected and Only me videos stay on Vimeo; change the setting to convert them.
A video usually converts to SmartVideo in about as long as it runs, so a 10-minute video takes about 10 minutes. Confirm conversion with the check in How do I know SmartVideo is working?.
Related articles
- Using SmartVideo on non-WordPress platforms
- Automatic Vimeo conversions
- How to add a video to a non-WordPress website
If you run into any issues, reach out to our support team and we’ll get you sorted!
Evaluating SmartVideo for Thinkific? See the Thinkific video hosting overview.
Keywords: thinkific, course platform, site footer code, code and analytics, learner hub, course player