Use this CTA (Call to Action) configuration to add a CTA button to all videos. Note that this configuration will override any existing CTA configuration.
Property | Required | Type | Description | Options |
---|---|---|---|---|
url | Required | String | The URL to where the button will redirect to | - |
text | Required | String | The text that will appear on the button | - |
color | Required | String | The button color | - |
animation | Optional | Boolean | If set to true button animation is turned on | - |
icon | Optional | String | If provided the icon will appear on the button next to the text | "none", "play" , "new_window" |
Example:
<div id="PLAYER_ID" data-exs-config='{
"videos": {
"cta": {
"url": "<< THE CTA LINK URL >>",
"text": "READ MORE",
"color": "#000000",
"animation": true,
"icon": "none"
}
}
}'></div>
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article