We think hexagons are the best shape ever, but everyone is entitled to their own opinion π
Thatβs why, you can change the shape of the play button on the SmartVideo player!

Β
Just follow these simple instructions:
If youβre using the SmartVideo plugin for WordPress:
Simply visit the SmartVideo plugin Settings menu.
Under Play button shape you can select Hexagon (our beloved default), Circle, or Rectangle. Your choice saves automatically.

If you want to manually edit the script in your head tagΒ (not recommended):
Note: this method will not work if you have SmartVideo enabled on your site via our WordPress plugin.
Add this snippet to the SmartVideo script in the head tag of your site:
theme: {button:"rectangle"},
or
theme: {button:"circle"},
Example configuration:
<script data-cfasync="false">
var swarmoptions = {
swarmcdnkey: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
theme: {primaryColor:"#ffde17", button:"rectangle"},
iframeReplacement: "iframe",
autoreplace: {
youtube: true
}
};
</script>
<script data-cfasync="false" src="https://assets.swarmcdn.com/cross/swarmdetect.js"></script>
Β
While youβre tweaking the look of your player, you can also dial in how strongly your primary color tints the frosted-glass control bar. See Customize player color for the new glassTint setting.
Need some help? Give us a shout by clicking the button in the bottom right corner of this page!
Β
Keywords: change button , change play button , customise button , player customise button