Vdo
Global vdo object
#
Public Method SummaryFunction | Definition |
---|---|
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 Methodspublic add(embedInfo: embedInfoType)
#
embed a new video overrides the add function to always create vdoplayer objects when creating new vdo players
Params:
Name | Type | Attribute | Description |
---|---|---|---|
embedInfo | embedInfoType | Check 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