VideoSynchronizer

external class VideoSynchronizer(source)

Synchronizes a video element with a simulation clock.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Gets or sets the clock used to drive the video element.

Link copied to clipboard

Gets or sets the video element to synchronize.

Link copied to clipboard

Gets or sets the simulation time that marks the start of the video.

Link copied to clipboard

Gets or sets the amount of time in seconds the video's currentTime and the clock's currentTime can diverge before a video seek is performed. Lower values make the synchronization more accurate but video performance might suffer. Higher values provide better performance but at the cost of accuracy.

Functions

Link copied to clipboard
fun destroy()

Destroys and resources used by the object. Once an object is destroyed, it should not be used.

Link copied to clipboard

Returns true if this object was destroyed; otherwise, false.