Skip to main content

Vdo

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