VideoControl #

Component for controling video playback and volume. Appears as a horizontal bar that can be placed below the Video component (2D video) or anywhere in the scene, as when used with the VideoPano (360 video).

Contains the following UI elements:

  • buttons for play/pause, unmute/mute, and volume
  • progress bar and timer showing both elapased and total time

For example usage, see MediaPlayerState

Props #

fontSize?: PropTypes.number.isRequired #

fontSize - the fontSize of texts in VideoControl. Default is 0.1(meter)

playerState?: PropTypes.object.isRequired #

playerState - a MediaPlayerState, which controls video states. Typically shared between this VideoControl and the Video it controls. See MediaPlayerState

You can file an issue on GitHub if you see a typo or error on this page!