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

Function useVolume

  • useVolume(): number

    Returns the player's volume, 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 number

    • Defined in react/src/hooks/useVolume.ts:12

Settings

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

Generated using TypeDoc