question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to hide youtubePlayer button, menu icon and title?

See original GitHub issue

I wanted to hide the youtube button , menu and title . I tried to hide them using the provided APi’s but it doesn’t seem to work. youTubePlayerView.getPlayerUIController().showVideoTitle(false); youTubePlayerView.getPlayerUIController().showMenuButton(false); youTubePlayerView.getPlayerUIController().showYouTubeButton(false); Is there any other way to do it ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
PierfrancescoSoffritticommented, Dec 23, 2020

Same, it is explained in the doc. Unfortunately YouTube made changes to the web library, and those UI components can’t be removed anymore.

Both native UI and custom UI add a view ontop of the webview, preventing the web buttons from being clicked.

0reactions
forceporquillocommented, Dec 23, 2020

Oh, I see. I already figured out in my use case, adding custom anamorphic crop bars will do the trick.~

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Hide Video Player Controls on YouTube on Android
1. Launch the YouTube app on your Android device. You can find the app icon on your app drawer. 2. Tap on your...
Read more >
Hide YouTube video controls (Title, Watch later, Share) using ...
If you're using Youtube Iframe. It won't work because Youtube has deprecated the parameter to control title ...
Read more >
Remove the Watch on YouTube Button from Embedded Videos
The modestbranding parameter simply needs to be appended to the end of the URL in the HTML code and set to one (i.e.,...
Read more >
How to Hide the YouTube Bar/Controls when a Video Is ...
When you are watching a YouTube video, the YouTube bar will automatically disappear if you move your cursor outside of the YouTube video...
Read more >
How to Fix YouTube Button Controls Not Hiding - Guiding Tech
You should also try clearing the cache for the YouTube app to fix the problem when YouTube button controls stick on the screen...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found