The type of a media track:
"audio"
: Audio track."video"
: Video track.Plays a media track on the webpage.
Optional
element: string | HTMLElementSpecifies a DOM element. The SDK will create a <video>
element under the specified DOM element to play the video track. You can specify a DOM element in either of following ways:
string
: Specify the ID of the DOM element.HTMLElement
: Pass a DOM object.Generated using TypeDoc
Whether a media track is playing on the webpage:
true
: The media track is playing on the webpage.false
: The media track is not playing on the webpage.