Short answer: SmartVideo doesn’t give you an iframe embed code or a standalone direct video URL, and that’s on purpose. If you’ve used Bunny Stream, Vimeo, or YouTube, you’re used to copying a link like https://iframe.mediadelivery.net/embed/... and pasting it anywhere. SmartVideo works differently, and here’s why - plus exactly how you embed a video instead.
Why there’s no iframe link or public video URL
SmartVideo isn’t a sharing platform - it’s built to play videos on your own site through our player, not to hand out a portable link you paste elsewhere. Internally, your videos are referenced by an obfuscated swarmify:// pointer rather than a plain, public file URL, so there’s no iframe URL or direct-file link to copy out. (You can always get your own files back - just ask support for download links.)
So if you have a swarmify://... reference in your Library, there’s no way to convert it into a standard https:// video link or an iframe embed - that conversion doesn’t exist, because the standalone link itself doesn’t exist. The swarmify:// reference is an internal pointer, not a shareable URL.
How you embed a video instead
You add SmartVideo to a page with a small bit of HTML - the SmartVideo tag - rather than an iframe. Once your SmartVideo script is installed in your site’s <head> (you’ll find the snippet under Dashboard > Configuration), drop this wherever you want the video to appear:
<smartvideo src="https://your-video.example.com/file.mp4"
width="1280" height="720"
class="swarm-fluid" controls>
</smartvideo>
A couple of variations for different setups:
- Platform strips custom tags? Some builders remove unfamiliar tags like
<smartvideo>. Use a<div>with thesmartvideoclass instead - it works identically:
<div class="smartvideo"
src="https://your-video.example.com/file.mp4"
width="1280" height="720">
</div>
- On WordPress? Use the
[smartvideo]shortcode from our WordPress plugin - no raw HTML needed.
The src is always your video’s direct source-file URL (an .mp4, or a file in your SmartVideo Library, Amazon S3, Wasabi, Dropbox, and so on) - never a YouTube page link. For the full set of tag options, see Using a standard HTML video tag with SmartVideo.
What if my platform ONLY accepts an iframe URL or a direct file link?
This is the honest catch. Some hosts (and some page builders) only let you paste an iframe embed URL or a direct video-file URL - they don’t allow custom HTML or a <script> in the page header. SmartVideo needs both: it needs you to add our JavaScript snippet to your site and to place a SmartVideo tag (or div) in the page. A platform that accepts only an iframe URL or only a direct file URL can’t currently use SmartVideo.
If that’s your situation, you’ll need a spot on your site that allows custom HTML - a “custom code” or “embed code” block, or a page area where you can add HTML. One important detail: our script snippet and the SmartVideo tag have to load in the same place. Some builders - Wix is the common example - run their “embed HTML” blocks inside a sandboxed frame that’s separate from your site’s header, so a script you added only to the site header won’t reach a tag placed inside that block. On those platforms, put both the SmartVideo script snippet and the SmartVideo tag together inside the same custom-HTML block so they load as one unit. Many platforms have a spot that allows this even when the default video field doesn’t (see how SmartVideo installs on Shopify, Squarespace, Wix, and other platforms). If yours genuinely offers no custom-HTML option anywhere, SmartVideo won’t fit it today.
We’ve logged iframe-style embedding as a feature request, so it’s on our radar - but it isn’t supported right now, and we’d rather tell you that straight than have you spend time chasing a link that doesn’t exist.
Not sure your platform fits?
If you’re not certain whether your site allows custom HTML and the SmartVideo script, email us at support@swarmify.com with your platform name (and a page URL if you have one) and we’ll tell you whether it’ll work before you invest the time. If you don’t have a SmartVideo account yet, you can create one at https://swarmify.com/pricing/.
Keywords: iframe, iframe embed, direct video link, direct video URL, swarmify://, embed code, https link, Bunny Stream, no iframe