youtube_player_flutter icon indicating copy to clipboard operation
youtube_player_flutter copied to clipboard

useHybridComposition freezes an app when Flutter is used as module for native app [BUG]

Open Nikzed opened this issue 1 year ago • 3 comments

Describe the bug While using default YoutubePlayerFlags in YoutubePlayerController, this leads to app being freezed if Flutter was implemented as module and started from Flutter Engine.

Also we do not see coverage with black transparent layer while pressing, so it's hard to see bottomActions buttons and the player is not seem to work after it finishes leading infinite loader with no possibility to press on suggested video.

To Reproduce Create native application, add Flutter module and try to start video.

Expected behavior App is not being freezed, we see black color while pressing on video, normal finishing of the video (working suggestions or just place the controller at start and stop)

Technical Details:

  • Device: [Redmi 5, Android emulators]
  • OS: [Redmi - Android 8, Emulator android 11]
  • Version [^8.1.2]

Nikzed avatar Aug 04 '23 12:08 Nikzed

Any update on this issue ? I am also facing this issue in all my devices and emulator, its playing the audio, video is freezed and showing the loading indicator untill i toggle the fullscreen mode. after toggle its working perfectly. Player is also not showing the controls on tapping on the screen

imijanur avatar Sep 28 '23 07:09 imijanur

Any update on this issue ? I am also facing this issue in all my devices and emulator, its playing the audio, video is freezed and showing the loading indicator untill i toggle the fullscreen mode. after toggle its working perfectly. Player is also not showing the controls on tapping on the screen

In my team we've used another package for it. youtube_player_iframe you can try it

Nikzed avatar Sep 28 '23 09:09 Nikzed

I am using this package to play unlisted videos, youtube_player_iframe have lot of options to share and copy the link, I need to prevent this, is there any option to hide those buttons/options in that package ?

imijanur avatar Sep 28 '23 09:09 imijanur