Interface StatusAPI

The interface of core.status. Provides information about the current playback.

Seealso

The Core module

Hierarchy

  • StatusAPI

Properties

paused: boolean

Whether the player is paused.

idle: boolean

Whether the player is idle (i.e. not playing any file).

position: number

The current playback position, in seconds.

duration: number

The duration of the current file, in seconds.

speed: number

Current playback speed.

videoWidth: number

Width of the video.

videoHeight: number

Height of the video.

isNetworkResource: boolean

Whether the current file is a network resource (not a local file).

url: string

URL of the current file.

title: string

Title of the current file. The title is the "best guess" by IINA based on the filename and metadata.

Generated using TypeDoc