Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SmoothTimeUpdateSettings

Settings to configure the smooth time update plugin.

Hierarchy

  • PlayerSettings
    • SmoothTimeUpdateSettings

Index

Properties

Optional billing

billing: string

Optional seekStrategy

seekStrategy: SeekStrategyType

Controls how seeks are executed.

updateCallback

updateCallback: updateCallback

(Default: dispatchOnFrameChange) The callback to be used on every animationFrame update.

Optional updateSrc

updateSrc: (videoFile: VideoFile) => Promise<string>

Sets a callback function that resolves a new video url when the player encounters an error. The url provided by the callback replaces the current loaded video file url and is reloaded in the player. The main use-case for this is for updating pre-signed urls.

param

the current video file that failed

Type declaration

    • (videoFile: VideoFile): Promise<string>
    • Parameters

      • videoFile: VideoFile

      Returns Promise<string>

Optional verbose

verbose: boolean