Optional
settings: Partial<SmoothTimeUpdateSettings>Readonly
frameReadonly
nameReadonly
settingsStatic
NameProperty that states whether this plugin considers itself ready for continued playback based on internal logic.
Triggers internal event of type PlayerInternalEventType.LoadedChanged
if property value was changed.
Property that states whether this plugin considers itself muted based on internal logic.
Triggers internal event of type PlayerInternalEventType.MutedChanged
if property value was changed.
Property describing the plugin name and version.
Smooth Time Update Plugin
This plugin is used to get more frequent time update events than the native video element can provide.
How to use
Disclaimer: The
SmoothTimeUpdateEventType.TimeUpdate
event is fired for each frame, but it is not guaranteed to be emitted at the exact time of the frame. So callingplayer.api.getCurrentTime(TimeFormat.Frame)
might report a different frame thanevent.currentFrame
.