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

Function useError

  • useError(): undefined | PlayerError
  • Returns the current player error, or undefined if there is no error. Automatically updates when an error occurs, and resets when a new source is loaded.

    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 undefined | PlayerError

    • Defined in src/ui/hooks/useError.ts:18

Settings

Member Visibility

Theme

Open Video UI for React Native
  • Loading...

Generated using TypeDoc