As you can probably tell from our site: we love yellow ūüíõ

But, we know you have certain colors that you love too. That's why, with a SmartVideo Premium or Pro plan, you can change the color of the player! Just follow the simple instructions below to change the color of the SmartVideo player:

1.  Add this snippet to the SmartVideo script in the header of your site:

theme: {
    primaryColor: "YOUR_HEX_CODE"
}

2. Replace YOUR_HEX_CODE with the hex code corresponding to the color of your choice. (Here's a simple site to help find a color: https://html-color-codes.info/)


Example configuration 

<script data-cfasync="false">
    var swarmoptions = {
        swarmcdnkey: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
        theme: {
            primaryColor: "YOUR_HEX_CODE" // such as: #FF0000 | changes the yellow color in our player
        },
        autoreplace: {
            youtube: true
        }
    };
</script>
<script data-cfasync="false" src="//assets.swarmcdn.com/cross/swarmdetect.js"></script>


If you're having trouble configuring the script, follow these instructions:

Once you've combined the script above with the script already in your header, paste it into the textbox on http://jsbeautifier.org/ and click Beautify JavaScript or HTML. Then, insert it back into your site's header.

If you still are experience issues or need some help, please give us a shout by clicking the orange button in the bottom right corner of this page!

Did this answer your question?