react-native-video-player icon indicating copy to clipboard operation
react-native-video-player copied to clipboard

Video play just shows a black screen

Open isAlmogK opened this issue 7 years ago • 19 comments

Not sure what exactly is going on but this was working fine but now all the sudden when I play a video I get just a black screen I can hear the sound. Here is my code and I'm on the latest version

<VideoPlayer
    endWithThumbnail
    thumbnail={{uri: selectedPhoto.url.thumbnail}}
    video={{uri: selectedPhoto.url.compressedFile}}
/>

isAlmogK avatar Nov 07 '17 03:11 isAlmogK

Any news on this?

isAlmogK avatar Nov 14 '17 01:11 isAlmogK

@cornedor any updates on this?

supritshah1289 avatar Nov 18 '17 04:11 supritshah1289

Sorry for the late reply, had a few busy weeks. Do you have this problem in the simulator? Or also on an actual device? If so what OS are you using?

cornedor avatar Nov 20 '17 08:11 cornedor

For me it happens both on Andriod both device and simulator

isAlmogK avatar Nov 21 '17 05:11 isAlmogK

can you share a video with the problem? And which Android version are you using?

cornedor avatar Nov 21 '17 11:11 cornedor

Pixel 8.0

isAlmogK avatar Nov 22 '17 05:11 isAlmogK

Hi, there are any update for this theme. I have the same problem. But i test with ios and have videos (mov) in the ressources-folder. It finds the video, but can't play this. Black Screen.

Thanks for help..

Turtle0601 avatar Mar 06 '18 12:03 Turtle0601

I had similar problem and it was problem with video uri. Can you verify that uri is correct and it's working with react-native-video?

Bomberlt avatar May 08 '18 09:05 Bomberlt

Hi, facing the same issue. Any workaround? Any solution is appreciable.

Thanks

akhilsanker avatar Jun 03 '19 06:06 akhilsanker

adding controls={true} shows the video .

salmaarsh06 avatar Jul 25 '19 10:07 salmaarsh06

still same issue for me despite updating mp4 link but it's not working fine with my link it works with any other mp4 link so would you recommend any steps to follow to check my link validity?

MayarAhmed avatar Nov 06 '19 22:11 MayarAhmed

@salmaarsh06 unfortunately didn't work

MayarAhmed avatar Nov 06 '19 22:11 MayarAhmed

Is this issue still happening, can you help me in reproducing it?

TheDanielMoli avatar Jun 11 '20 10:06 TheDanielMoli

Still facing the issue in 2021. Any update ?

k-virendra avatar Feb 08 '21 05:02 k-virendra

Hi, facing the same issue. Any one have solution that problem.

jitendraAn avatar May 06 '21 05:05 jitendraAn

Hi, Kindly post some solution regarding this issue

nagaraj95 avatar May 14 '21 11:05 nagaraj95

Hey, I'm also facing same issue any solution??

jotilohana avatar Mar 16 '22 16:03 jotilohana

i am also facing same issue, any workaround .?

eramudeep avatar Jun 06 '22 17:06 eramudeep

Please try use this property menifest file or webview 'android:hardwareAccelerated="true"' or android:hardwareAccelerated="false"

jitendraAn avatar Jun 08 '22 03:06 jitendraAn