expo video player does not play online videos

Please provide the following:

  1. SDK Version:
  2. Platforms(Android/iOS/web/all):
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Replace this section with as much relevant information as possible and any relevant code along with your question.

It gives me this error:
Error: , Encountered a fatal error during playback: g.g.b.d.t0.v$d: Response code: 429, Fatal, Object {}
My code is

<VideoPlayer

            videoProps={{

                //  ref: { video },

                style: styles.displayVideo.video,

                shouldPlay: true,

                resizeMode: Video.RESIZE_MODE_CONTAIN,

                isLooping: true,

                useNativeControls: true,

                source: {

                    uri: videoUri,

                },

                useNativeControls: false,

            }}

            height={200}

            width={330}

            showFullscreenButton

            showControlsOnLoad

            sliderColor='#0C9F98'

            textStyle={{ color: '#FFFFFF', fontWeight: 'bold' }}

            videoBackground='transparent'

            isPortrait={true}

            switchToLandscape={() =>

                navigation.navigate('video', {

                    item,

                })

            }

            playbackCallback={(status) => {

                if (isPlaying !== status.isPlaying) {

                    setIsPlaying(status.isPlaying);

                }

            }}

        />Preformatted text

Hey @naveed273, I can confirm that the video module does work with remote sources (see the docs example). The 429 error code indicates that you hit a rate limit for the resource. I would investigate that further.

Cheers,
Adam

Hey , The " useNativeControls" it fades automatically , how can i make it always there (so the users know it’s a video , after uploading the video it displays only the image , only when you click the controls appear ) , without having to add a button(Play/Pause )