Install SmartVideo on GoHighLevel
GoHighLevel (GHL) is a popular all-in-one marketing platform used by agencies, coaches, and course creators. Because GHL doesn't use WordPress, you'll install SmartVideo by adding the Swarmify snippet to your site's global header and then placing videos using a Custom HTML block.
If you don't have a SmartVideo account yet, create one at swarmify.com/pricing/. Once you're registered, head back here to get set up.
Step 1: Get your Swarmify snippet
- Log in to your Swarmify dashboard.
- Go to the Configuration tab and copy the snippet shown there. Note: YouTube auto-conversion is currently paused, so the snippet only enables Vimeo auto-conversion. It'll look something like this:
<script data-cfasync="false" async src="https://assets.swarmcdn.com/cross/swarmdetect.js"></script>
<script data-cfasync="false">
var swarmOptions = {
swarmcdnkey: "YOUR_SWARM_CDN_KEY",
autoreplace: { youtube: true, vimeo: true }
};
</script>
Step 2: Add the snippet to your GHL site's global header
This makes SmartVideo active on every page of your site -- no need to add it page-by-page.
- In GoHighLevel, open your Website (or Funnel) in the builder.
- In the builder's top navigation bar, click the Tracking Code tab.
- Paste the Swarmify snippet into the Head tracking code field.
- Save.
Step 3: Add a video to a GHL page
Once the snippet is in your global header, you can place SmartVideo players anywhere using a Custom HTML block.
- Open the GHL page or funnel step you want to add a video to.
- Drag a Custom HTML element onto the page.
- Paste a SmartVideo tag inside it, replacing the
srcwith your actual video URL:
<smartvideo src="https://your-storage.com/path/to/video.mp4"
width="1280" height="720"
class="swarm-fluid" controls>
</smartvideo>
- Save and preview the page. The SmartVideo player should appear automatically.
What happens after I install?
After adding the snippet to your GHL site's header, SmartVideo will begin scanning your pages for videos. The snippet from the configuration tool already includes autoreplace: { vimeo: true }, so if you have Vimeo embeds on your site, they'll be automatically converted to SmartVideo -- no extra work needed. (To turn this off, regenerate your snippet from the configuration tool with Vimeo auto-conversion unchecked.) See Automatic Vimeo conversions for details.
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 using the Custom HTML block shown in Step 3.
A video can take up to 30 minutes to convert depending on the length and resolution. You'll know a video has been fully converted when you hover over the Video Acceleration icon on the player and the popup says Video Acceleration: On.
Supported video sources
The src attribute accepts URLs from YouTube, Vimeo, Dropbox, Amazon S3, Wasabi, Google Drive, and more. See the full list in our video file sources guide.
Need help with SmartVideo tag options?
- Basic SmartVideo tag options - autoplay, mute, controls
- Advanced SmartVideo tag options - looping, poster images, and more
- 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!
Keywords: gohighlevel, ghl, highlevel, go high level