I’m trying to put a layer over a YouTube player in fullscreen mode. I’ve tried putting a layout over YouTube through the xml but it isn’t visible when YouTube is in fullsreen mode. Is there a way I can put a custom button or layout over the YouTube player in fullscreen mode?
Disable Accessibility Player for YouTube (Android Only) Open the YouTube's Accessibility menu (YouTube > Settings > Accessibility), toggle on Accessibility player, and tap Hide player controls.
YouTube app Tap the video you'd like to watch. At the bottom of the video player, tap full screen .
For utilizing this amazing gesture of YouTube, just swipe up the video that you are watching to refill the display and swipe down on it to go back to the portrait orientation. This is the built-in gesture but unfortunately, this can be easily missed.
Tap your profile icon in the top-right corner. Select “Settings” from the menu. Now go to the “General” section. Toggle the switch on for “Zoom to Fill Screen.”
You cannot put a layer on top of Youtube Player. Whenever an overlay is detected, the youtube playback stops playing. For more info
Note that while videos are playing, this View has a minimum size of 200x110 dp. If you make the view any smaller, videos will automatically stop playing. Also, it is not permitted to overlay the view with other views while a video is playing.
You can put a layout outside the player or use Overlay ActionBar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With