VideoRenderer
Class that represents an audio renderer.
An instance should be created via the RendererManager.createVideoRenderer method
Methods
clear
clear(): void
Stops playing audio and releases all resources.
Returns
type:
void
mirror
mirror(): this
Mirrors the current video element.
Returns
type:
this
setElementClasses
setElementClasses(classes: string[]
): this
Updates the collection of the class attributes of the video element with the provided ones.
Parameters
classes:
string[]
Array of class attributes
Returns
type:
this
setElementId
setElementId(elementId: string
): this
Sets the HTML id attribute to the video element.
Parameters
elementId:
string
Id attribute
Returns
type:
this