Player Customization

Customize player color

Updated June 30, 2026

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 SmartVideo, you can change the accent color of the player!

The SmartVideo floating glass control bar picking up a yellow accent color

Just follow the simple instructions below :

If you’re using the SmartVideo plugin for WordPress:

Simply visit the SmartVideo plugin Settings menu. Under Accent color, choose a color with the picker or type a hex code. Your choice saves automatically.

The SmartVideo plugin Settings tab with the Accent color picker

If you’re not using the plugin for WordPress:

Visit the Configuration tool in your Swarmify Dashboard. This tool will allow you to change the color of your player, outputting a new script to replace your old script in your site’s head tag.

Pro Tip: The play button border auto adjusts so it is white for “dark” colors and black for “light” colors.

If you want to manually edit the script in your head tag*:*

Note: this method will not work if you have SmartVideo enabled on your site via our WordPress plugin.

1. Add this snippet to the SmartVideo script in the head tag 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/)

 

Tinting the frosted-glass surfaces (optional)

The SmartVideo player’s control bar, menus, and overflow panel use a frosted-glass treatment that subtly picks up your primary color. If you’d like to dial that effect up or down, add a glassTint value alongside primaryColor:

theme: {
    primaryColor: "YOUR_HEX_CODE",
    glassTint: 5
}

glassTint accepts whole numbers from 0 to 15 (we clamp anything outside that range). The default is 3 for a gentle wash; bump it higher for a more saturated brand feel, or set it to 0 to opt out and keep the glass neutral. 🎨

Example configuration :

<script data-cfasync="false">
    var swarmoptions = {
        swarmcdnkey: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
        theme: {
            primaryColor: "YOUR_HEX_CODE",
            glassTint: 5
        },
        autoreplace: {
            youtube: true
        }
    };
</script>
<script data-cfasync="false" src="https://assets.swarmcdn.com/cross/swarmdetect.js"></script>

 

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

Make the player yours

Match your brand with custom colors, a custom play button, captions, and more.

14-day free trial · No charge until day 15