-
Notifications
You must be signed in to change notification settings - Fork 755
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
[BUG] [youtube_player_iframe 2.2.1] video does not load, fields from the scroll #525
Comments
It seems related to "useShouldOverrideUrlLoading". I did the following test and it worked fine on my iOS case (Simulator Iphone 12 Pro & real Iphone 6s): initialOptions: InAppWebViewGroupOptions(
crossPlatform: InAppWebViewOptions(
/* ... */
useShouldOverrideUrlLoading: false, //I switched this to false, looks always get in this callback only in iOS (Android/Web is fine).
),
ios: IOSInAppWebViewOptions(
/* ... */
),
android: AndroidInAppWebViewOptions(
/* ... */
),
), |
I can confirm, that player will play after sets useShouldOverrideUrlLoading to false, but then whole function with shouldOverrideUrlLoading won't be trrigered. I have seen similar problem on inappwebview issues here In that case value isReady is always false which provides effect like video will never load. |
Could you please verify if v2.2.2 fixes the issue ? |
I can confirm, that it works again on both platforms. Thank you very much. |
Describe the bug
The video does not load, you can see the fields from the scroll, I will display everything in the attached video
To Reproduce
Just launch any video
Attachments
Technical Details:
Code
YoutubePlayerControllerProvider(
controller: _controller,
child: YoutubePlayerIFrame(
aspectRatio: 16 / 9,
),
),
The text was updated successfully, but these errors were encountered: