VideoRenderer
Class that represents an audio renderer.
An instance should be created via the RendererManager.createVideoRenderer method
Methods
clear
void
clear()Stops playing audio and releases all resources.
Returns
type:
void
mirror
this
mirror()Mirrors the current video element.
Returns
type:
this
setElementClasses
this
setElementClasses(string[]
classes)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
this
setElementId(string
elementId)Sets the HTML id attribute to the video element.
Parameters
elementId:
string
Id attribute
Returns
type:
this
Props
type
typeReturns the renderer type (video).