Disable clicks on title, share, and YouTube logo in embedded YouTube Player

Widgets & Design

Hello everyone,

I’m encountering an issue with the YouTube Player integration in my FlutterFlow project. My goal is to make certain parts of the YouTube Player unclickable, specifically:

  • The video title

  • The Share button

  • The YouTube logo

I want to allow users to watch the video and use the playback controls, but block any interactions with these specific elements.

Has anyone encountered a similar issue or have suggestions on how to fix this in FlutterFlow or through custom code? Any help or advice would be greatly appreciated!

Thanks in advance for your help!

What have you tried so far?
  • I have embedded the YouTube Player widget into my lesson details screen, as you can see in the attached screenshots.

  • I also tried adding a Stack with transparent containers overlaying the player to block those areas, but it didn’t work as expected.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
3 replies