VdoPlayer JS www.vdocipher.com

Typedef

Static Public Summary
public
public

Static Public

public PluginSpec: Object source

Properties:

NameTypeAttributeDescription
name string
options object

public embedInfoType: Object source

Properties:

NameTypeAttributeDescription
playbackInfo string

media information

otp string
  • optional

API generated token

signature string
  • optional

cryptographically generated signature

container HTMLElement

video will be appendChild to this element

theme string

uuid of theplayerio theme

themeDebug boolean
  • optional
  • default: false

use un-cached URLs for theme assets useful when editing themes

noCssReset boolean
  • optional
  • default: false

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.

autoplay boolean
  • optional
  • default: false

start playing on load. Note that autoplay no longer works. Apple and Google have blocked this. More information on: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes and https://webkit.org/blog/6784/new-video-policies-for-ios/

startTime Number
  • optional

playback should start from this point

loop boolean
  • optional
  • default: false

loop this video

techoverride array<string>
  • optional
  • default: []

override the technical preference order

plugins PluginSpec[]
  • optional
  • default: []

plugins to be loaded

bufferingGoal number
  • optional
  • default: 300

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.