Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android only - Encountered an error loading page #326

Open
mMarcos208 opened this issue Feb 19, 2024 · 5 comments
Open

Android only - Encountered an error loading page #326

mMarcos208 opened this issue Feb 19, 2024 · 5 comments

Comments

@mMarcos208
Copy link

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
Screenshot_1708365587

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"
@ShahidKhanDev
Copy link

ShahidKhanDev commented Feb 27, 2024

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.

@mMarcos208
Copy link
Author

mMarcos208 commented Feb 29, 2024

@ShahidKhanDev upgrade my react native version cause this error.

"react-native": "0.72.10" to "react-native": "0.73.4"

IOS works well.

@ShahidKhanDev
Copy link

ShahidKhanDev commented Mar 1, 2024

@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

Screenshot_20240301-072419~2.png

@mMarcos208
Copy link
Author

I'm not using expo! :(

Only this cause this error

<YoutubePlayer videoId={item.videoId} height={188} />

my internet works well

@LonelyCpp
Copy link
Owner

make sure that https://lonelycpp.github.io/react-native-youtube-iframe/iframe.html is not blocked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants