Short answer: SmartVideo doesn’t give you iframe embed code or a standalone direct video URL. It also doesn’t offer a public file URL for a swarmify:// Library reference. But if a tool accepts iframe HTML or a webpage URL, you can host a SmartVideo player page on your own site and use its page URL instead. A destination that accepts only a direct video-file URL still can’t use SmartVideo this way. Host a SmartVideo player page for iframe-only tools shows you how.
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 SmartVideo-issued iframe URL or direct-file link to copy out. (You can always get your own files back - just ask support for download links.)
If you have a swarmify://... reference in your Library, SmartVideo doesn’t offer a portable share link or iframe embed to hand out. 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 swarm-fluid"
src="https://your-video.example.com/file.mp4"
width="1280" height="720" controls>
</div>
- On WordPress? Use the
[smartvideo]shortcode from our WordPress plugin - no raw HTML needed.
Use a source that SmartVideo accepts in the tag’s src. 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?
If the tool accepts a webpage URL, host the one-file player page on your own site and use that page URL. If it accepts iframe HTML, paste an iframe that points to the page. The self-hosted player page guide includes a template. These options don’t give you a direct video-file URL from SmartVideo; a field that accepts only direct video-file URLs still can’t use SmartVideo this way.
If your platform instead lets you add custom HTML, you can use a SmartVideo tag directly. The script snippet and the 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).
MLS virtual-tour fields usually must be unbranded, and a page on your agent or brokerage website can break that rule because its URL identifies you. Hawaii Information Service MLS, for example, does not allow agent or broker websites as a virtual-tour host because the video link URL contains identifying information. Check your MLS’s rules before you use a self-hosted page in a listing.
Not sure your platform fits?
If you’re not sure whether your platform accepts iframe HTML or a webpage URL, email us at support@swarmify.com with your platform name (and a page URL if you have one) and we’ll help you check. If you don’t have a SmartVideo account yet, you can create one from the SmartVideo pricing page.
Keywords: iframe, iframe embed, iframe-only platform, direct video link, direct video URL, self-hosted player page, webpage URL, swarmify://, embed code, Bunny Stream