Skip to main content

Vdo

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.

Global vdo object

Public Method Summary

FunctionDefinition
add(embedInfo: embedInfoType)embed a new video overrides the add function to always create vdoplayer objects when creating new vdo players
getObjects(): Array(VdoPlayer)Obtain a list of videos embedded in this page The order of embed is usually maintained There is no id based obtain for now, if you are not sure of the index, you can always iterate and find the desired entity

Public Methods

public add(embedInfo: embedInfoType)

embed a new video overrides the add function to always create vdoplayer objects when creating new vdo players

Params:

NameTypeAttributeDescription
embedInfoembedInfoTypeCheck embedInfo docs for the structure
public getObjects(): Array<VdoPlayer>

Obtain a list of videos embedded in this page The order of embed is usually maintained There is no id based obtain for now, if you are not sure of the index, you can always iterate and find the desired entity

Return:

Array(VdoPlayer) An array of VdoPlayer objects