How I Develop React Native Expo Cli Video Resolution Option To Manage The Video Quality

Viewed 25

What I m doing for create this video resolution option in expo cli

please any one help me out this options

My Custom Code is

<Video 
  onReadyForDisplay
  onLoadStart
  ref={video}
  style={styles.video}
  source={{
    uri: 'http://techslides.com/demos/sample-videos/small.mp4',
  }}
  useNativeControls
  resizeMode="contain"  
  isLooping = {true}
  onPlaybackStatusUpdate={status => setStatus(()=> status)}
/>
<View style={styles.buttons}>
    <Button
      title={status.isPlaying ? 'Pause' : 'Play'}
      onPress={() =>
        status.isPlaying ? video.current.pauseAsync() : video.current.playAsync()
      }
/>
0 Answers
Related