DocsTHEOplayer.com
  • Preparing search index...
  • The search index is not available
Open Video UI for React Native
  • Open Video UI for React Native
  • useDuration

Function useDuration

  • useDuration(): number
  • Returns the player's duration, automatically updating whenever it changes.

    This hook must only be used in a component mounted inside a THEOplayerDefaultUi or UiContainer, or alternatively any other component that provides a PlayerContext.

    Returns number

    • Defined in src/ui/hooks/useDuration.ts:15

Settings

Member Visibility

Theme

Open Video UI for React Native
  • Loading...

Generated using TypeDoc