Returns the player's duration, automatically updating whenever it changes.
This hook must only be used in a component mounted inside a DefaultUI or UIContainer, or alternatively any other component that provides a PlayerContext.
Returns the player's duration, automatically updating whenever it changes.
This hook must only be used in a component mounted inside a DefaultUI or UIContainer, or alternatively any other component that provides a PlayerContext.