Podia is a hosted platform for selling courses, memberships, and digital downloads. Podia has a Third-party code setting, so you install SmartVideo there. Podia’s documentation also sets two limits you should know before you start: third-party code runs only on the public pages of your site, and Podia doesn’t support HTML or embed code, so a <smartvideo> tag has nowhere to go. This guide covers what Podia 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 Podia’s Third-party code
- From your Podia home feed, click your site name and select Admin.
- In the Admin sidebar, click Settings > Analytics.
- Click Edit next to Third-party code.
- Paste the snippet into the Website tracking code field.
- Click Save.
Podia adds this code to every public page of your site just before the closing </body> tag. It doesn’t support code meant for the <head>. If the Third-party code option is disabled, Podia says to check that your plan supports custom code (a trial or a plan without the feature won’t) and that your email address is verified. See Podia’s guide to installing third-party apps.
What Podia’s limits mean for SmartVideo
- Public pages only. Podia says third-party code runs only on the public-facing pages of your site, including checkout pages, and not for logged-in members, so SmartVideo can’t load inside your course lessons or the home feed.
- No HTML or embed code. Podia’s Embed tool takes the direct URL of a video, not embed code, and states that HTML, embeddable code, and iFrame code aren’t supported. So you can’t paste a
<smartvideo>tag into Podia, and SmartVideo doesn’t provide a standalone video URL or iframe embed code to paste either. See Podia’s guides to embedding externally hosted videos and embedding other media.
Convert Vimeo videos on your public pages
The route that fits Podia’s limits is the Vimeo conversion that SmartVideo already does. If a public page of your site, such as a sales page, shows a video you added with Podia’s Embed command from a Vimeo link, the snippet from Step 2 may convert it to SmartVideo. Podia renders link embeds through iFramely, and we haven’t confirmed the loader converts them. Check with step 3, and contact support if it doesn’t convert.
- Make sure the snippet is saved in Third-party code.
- Open the published page in a new browser tab, not the site editor. Podia notes that embeds may not display while you edit and appear on published pages.
- Wait for the video to convert, then run the check in How do I know SmartVideo is working?.
What happens after I install?
After adding the snippet, SmartVideo will begin scanning your public 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 your public pages, 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.
SmartVideo on Podia is limited to your public pages. It doesn’t run inside course lessons.
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 Podia? See the Podia video hosting overview.
Keywords: podia, course platform, third-party code, website tracking code, analytics settings