Embed Parameters
Newer version available
You are seeing documentation of an older player version. Check the embed code for newer player v2. The new player has shorter load-times, more customisable and has a lot of new features. There are many more API methods & events also supported. See how to connect API to v2 player. And the full list of HTML5-like APIs and more APIs.
Static Public Summary
embedInfoType: Object
Properties
Name | Type | Attribute | Description |
---|---|---|---|
playbackInfo | string | media information | |
otp | string |
| API generated token |
signature | string |
| cryptographically generated signature |
container | HTML Element | video will be appendChild to this element | |
theme | string | uuid of theplayerio theme | |
ccLang | string |
| Can be set to the language code (iso-3166 alpha2) that you want the captions to start with. For example, to start with the English subtitle, set ccLang to "en" . Leave this undefined to start with no active captions. |
themeDebug | boolean |
| use un-cached URLs for theme assets useful when editing themes |
noCssReset | boolean |
| do not unset all styles inside vdoplayer. default behaviour is to unset styles to make the player compatible with any website CSS. If you are editing the player elements or styles, you might want to set this to true. This must to set to true if you want to apply external styles to elements inside the player |
boolean |
| start playing on load. Note that autoplay no longer works. Apple and Google have blocked this. More information here and here | |
startTime | number |
| playback should start from this point |
loop | boolean |
| loop this video |
techoverride | string[] |
| override the technical preference order |
plugins | PluginSpec[] |
| plugins to be loaded |
bufferingGoal | number |
| The number of seconds of content that the player will attempt to buffer ahead of the playhead. This value must be greater than or equal to 5. The actual buffered also depend on segment size available. This value will be used as a minimum possible value |
defaultEstimateKbps | number |
| Applies to HTML5 player only. This is the bitrate with which player will start. After start, it will get the network speed and adapt to the better fitting variant for that network. Keeping this low improves load times , keeping this higher means video will not start with low quality |