Video Component Expo

Does anyone have an example code for adding custom controls to Expo VIdeo Component?
There is an open issue with the Video Component where if you specify useNativeControls, the video doesn’t work.

Since, I dont want to detach my app just yet, I was wondering if someone knows how to add custom controls to the Video Component.
I know how to do it using react-native-video but since it uses react-native link, I think I cant use it with Expo?
The Expo Video Api doesn’t accept the onProgress parameter, and that’s why I am unable to figure out how to add the custom controls.
Would be great if anyone can help me out with this. Thanks.

Hi Rahls,

Here it is how I’ve done to make custom control:

    return (
      <View style={styles.container}>
          source={{ uri: }}
          style={{ flex: 1 }}
        <View style={styles.container}>
            <Ionicons name={paused ? 'md-pause' : 'md-play'} size={28} color="white" />
            <Ionicons name='md-square' size={28} color="white" />

Hope so it can help you :wink:

Hey Speudyland. Thanks for your response. Appreciate it.
But, the issue I am having is that I cannot find the onProgress equivalent in Expo’s Video Component. I am trying to display the progress bar and I need the progress parameter.
Thanks once again for your help :slight_smile:


Ah sooooorry I didn’t read well your message…Ok, so did you tried something like (at least to test):


Let us know if you find something good on the video progressbar :wink:

You can use the Video callback prop to receive playback status updates:

The format of these updates is described here:

here u guys can check the video player with play pause and mute buttons along with the progress bar which shows the progress time of the video
Hope u guys will like it thankuuu

I think the link is wrong.