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

Background video acceleration

Background video on a landing page is often slow to start and bogs down the load speed of the entire page. SmartVideo offers the unique ability to accelerate your background videos by including a simple option in our Javascript snippet.

At the end of "youtube: true", include a comma, then add "videotag: true" on the very next line.

Here's an example with "videotag: true" included.

<script data-cfasync="false">
    var swarmoptions = {
        swarmcdnkey: "<<publicAPIKey>>",
        autoreplace: {
            youtube: true,
            videotag: true
<script data-cfasync="false" src="//assets.swarmcdn.com/cross/swarmdetect.js"></script>

If you decide that you want all of your video accelerated but not your background video, simply change "videotag: true" to "videotag: false"

Updated 11 days ago

Background video acceleration

Suggested Edits are limited on API Reference Pages

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