property PlayerTimeValue.duration

In seconds, 0 until the media's metadata loads.

Type

number

Usage

import { type PlayerTimeValue } from "src/contexts/player/PlayerContext.ts";