Install SmartVideo on GoHighLevel
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. It'll look something like this:
<script async src="https://assets.swarmcdn.com/cross/swarmdetect.js"></script>
<script>
var swarmOptions = {
swarmcdnkey: "YOUR_API_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. If you have YouTube or Vimeo embeds on your site, they'll be automatically converted to SmartVideo -- no extra work needed.
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