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

[BUG] YoutubePlayer overlap on widget that are above the ListView #1018

Open
1 task done
ebad-ahmed-progatix opened this issue Oct 28, 2024 · 0 comments
Open
1 task done
Assignees

Comments

@ebad-ahmed-progatix
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package

youtube_player_iframe (Default)

What happened?

I have a column in which first child is search widget then, there is singleChildScrollView in which multiple child then youtubePlayer

When I am scrolling if my scroll does not have youtube player then it scroll perfectly, but when there is any youtube player inside it, when half of my player scroll to position when it should hide it overlap the search widget,

scaffold > container > column [ search widget, padding widget, Listivew.builder]

I have multiple type of video all are working fine except youtube.
these are working fine video player, vimeo, chewie

I have attached some screenshots,
first one without scroll, second one some scroll to show that my search widget is outside scroll, then third one for showing error (youtubePlayer overlapping my search widget)
Screenshot 2024-10-28 at 2 21 10 PM

What is the expected behaviour?

Screenshot 2024-10-28 at 2 21 23 PM Screenshot 2024-10-28 at 2 21 36 PM

How to reproduce?

1 use youtube_player_flutter: ^9.1.1

2 make a widget just like I have describe in detail.,

3 scroll the widget

for reference I am attaching a video

screen-recording-2024-10-28-at-22510-pm_EbV2yzdM.mp4

Flutter Doctor Output

flutter doctor -v
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.6.1 23G93 darwin-arm64, locale en-PK)
    • Flutter version 3.24.0 on channel stable at /Users/ebad.ahmed/Downloads/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (3 months ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/ebad.ahmed/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/ebad.ahmed/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] Connected device (4 available)
    • iPhone X (mobile)               • 6BE1234A-5CD7-4132-927B-2DB693D97785 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 14.6.1 23G93 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 14.6.1 23G93 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 130.0.6723.70

[✓] Network resources
    • All expected network resources are available.

• No issues found!
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

2 participants