How can we help?

Customizing Video Embeds Follow

You are able to override the default embed settings on a per embed basis using JavaScript. For example, when you copy your embed code, you can add additional JS inside your script tag.

For details on how to overwrite variables specific to a subscription embed, read our article HERE.

The following are variables that you enter to overwrite the general settings on an embed:

Variable Example Description
backgroundColor zype.backgroundColor = ‘#264547’; Hexcolor of background if no video thumbnail
autoPlay zype.autoplay=true; Set to TRUE if you want videos to autoplay
da zype.da=true; Set to TRUE if you'd like to disable ads
audio zype.audio=true; Set to TRUE if you have an audio-only stream
streams zype.streams=true; Set to TRUE if you want to allow switching between video and audio
appName zype.appName = ‘My app name’; Name of your app
showZype zype.showZype = true; Set to TRUE to show “Powered by Zype”
dvr zype.dvr=false; Set to false to disable the dvr on live streams

 

 

Comments

Please sign in to leave a comment.