LonelyCpp / react-native-youtube-iframe

A wrapper of the Youtube-iframe API built for react native.
https://lonelycpp.github.io/react-native-youtube-iframe/
MIT License
607 stars 155 forks source link

Black screen when app goes to background for a while #253

Open hyochan opened 2 years ago

hyochan commented 2 years ago

Describe the bug When the app goes to the background for a while and comes back (1 hour), every youtube videos show a black screen. However, when you remove the app from the background and come back, it is working again.

To Reproduce Watch youtube videos from react-native-youtube-iframe. Then go to the background. Come back after an hour.

Expected behavior Able to reload the video programmatically or avoid black screen from an idle state.

Screenshots N/A

Smartphone (please complete the following information):

Additional context N/A

crosskpixel commented 2 years ago

Same