react-native-youtube-iframe
react-native-youtube-iframe copied to clipboard
Android only - Encountered an error loading page
Describe the bug Encountered an error loading page {"canGoBack": false, "canGoForward": false, "code": -8, "description": "net::ERR_TIMED_OUT", "loading": false, "target": 16693, "title": "", "url": "https://lonelycpp.github.io/react-native-youtube-iframe/iframe.html?data=%7B%22rel_s%22:0,%22loop_s%22:0,%22videoId_s%22:%22XEWrQzI-T1s%22,%22controls_s%22:1,%22contentScale_s%22:1,%22cc_lang_pref_s%22:%22%22,%22allowWebViewZoom%22:false,%22modestbranding_s%22:0,%22preventFullScreen_s%22:1,%22showClosedCaptions_s%22:0%7D"}
To Reproduce upgrade react native 0.72.10 to 0.73.4
Expected behavior show me youtube video
Screenshots
Smartphone (please complete the following information):
An
- Device: Macos 14.3.1 | Android 9 "react-native-webview": "^13.8.1", "react-native-youtube-iframe": "^2.3.0"
Could you please describe it more?the error
encountered an error loading page {"canGoBack": false, "canGoForward": false, "code": -8, "description": "net::ERR_TIMED_OUT", "loading": false, "target": 16693, "title": "", "url":
I think is realted to the internet connection.
@ShahidKhanDev upgrade my react native version cause this error.
"react-native": "0.72.10" to "react-native": "0.73.4"
IOS works well.
@ShahidKhanDev upgrade my react native version cause this error.
"react-native": "0.72.10" to "react-native": "0.73.4"
IOS works well.
I am also working on a project where I have used the the same library in react native expo and it works perfectly fine for me. Here is what i got in package.json
I'm not using expo! :(
Only this cause this error
<YoutubePlayer videoId={item.videoId} height={188} />
my internet works well
make sure that https://lonelycpp.github.io/react-native-youtube-iframe/iframe.html is not blocked