Welcome to the Swarmify developer hub. You'll find comprehensive guides and documentation to help you start working with Swarmify as quickly as possible, as well as support if you get stuck. Let's jump right in!

Documentation    Get Started

Using the SmartVideo Tag

This page will help you get started using the SmartVideo Tag

For a more detailed look at using the SmartVideo tag on a website, we recommend visiting our Help Center.

Account setup

Visit swarmify.com to register for a SmartVideo account if you do not have a login yet. Once registered, you'll be given a unique key to access the Swarmify API. This API key is required to configure your site for video delivery by Swarmify.

Step 1

Before the final tag of your html template, insert the following JavaScript snippet.
(Please note that a swarmcdnkey is required for the Swarmify technology to be enabled) We have already populated your unique key in the Javascript below.

<script data-cfasync="false">
    var swarmoptions = {
        swarmcdnkey: "<<publicAPIKey>>"
    };
</script>
<script data-cfasync="false" src="https://assets.swarmcdn.com/cross/swarmdetect.js"></script>

Step 2

Step 1 loads our SmartVideo Player to play MP4 video files that are loaded through our technology. To utilize this player, you can insert the following HTML wherever you want your videos to appear; our <smartvideo> tag is just like the <video> tag, down to the same options. An example of what the SmartVideo player will look like, as well as a live demo, can be seen at swarmify.com.

<smartvideo src="path/to/my/video.mp4" width="800" height="600" controls></smartvideo>

Complete

Setup complete! That's it...sit back and enjoy the best video playback at the best price powered by Swarmify technology.

Updated 11 days ago

Using the SmartVideo Tag


This page will help you get started using the SmartVideo Tag

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.