Expo video controls

I use expo video to play video by

      <Video
        source={{ uri: 'http://d23dyxeqlo5psv.cloudfront.net/big_buck_bunny.mp4' }}
        rate={1.0}
        volume={1.0}
        isMuted={false}
        resizeMode="contain"
        shouldPlay
        isLooping
        style={{ width: 300, height: 300 }}
        ref={this._handleVideoRef}
  />

I don’t see video controls like stop, pause and play.

how do I show the video controls? Is it possible?

Hey @tenh,

You’ll want to use the useNativeControls prop to use the native player components or you’ll have to create your own on top of it. Make sure to thoroughly read the documentation!

Cheers,
Adam

1 Like