GitHub
  • Preparing search index...
  • The search index is not available
@theoplayer/react-ui
  • @theoplayer/react-ui
  • useSource

Function useSource

  • useSource(): undefined | SourceDescription

    Returns the player's source, 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 undefined | SourceDescription

    • Defined in react/src/hooks/useSource.ts:13

Settings

Member Visibility
GitHub
@theoplayer/react-ui
  • Loading...

Generated using TypeDoc