Configuration options
Using URL Parameters
Player can be configured using the URL parameter in iframe source. Example for setting custom primary color using URL parameter:
<iframe
src="https://player.vdocipher.com/v2/?otp=[[REPLACE_WITH_OTP]]&playbackInfo=[[REPLACE_WITH_PLAYBACKINFO]]&primaryColor=4245EF"
style="border:0;width:720px;height:405px"
allow="encrypted-media"
allowfullscreen
></iframe>
There are various options to configure, you just need to append the property
along with its value in the src
attribute value of iframe in embed code.
Name | Default | Sample Values | Description |
---|---|---|---|
primaryColor | FF0000 | &primaryColor=FFFF00 or &primaryColor=yellow | Set the primary Color, value can be either in HEX Code (without # and in capital) or color name in lowercase |
ccLanguage | Browser Language | &ccLanguage=ar | Set the default language for the captions |
litemode | false | &litemode=true | Load the player in light mode. No license & media files are loaded until viewer clicks the play button |
autoplay | false | &autoplay=true | Enable/Disable the video autoplay. Video will be muted. |
controls | on | &controls=off | Can be used to disable the UI controls of the player. Can be set to either on , off or native . |
loop | false | &loop=true | auto loop the video at the end. |