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

Disable Default Ui #1200

Open
ayodorigan opened this issue Feb 25, 2025 · 2 comments
Open

Disable Default Ui #1200

ayodorigan opened this issue Feb 25, 2025 · 2 comments
Labels

Comments

@ayodorigan
Copy link

Question / Problem

Summary

How can I remove the default UI of the player? I have built the Iframe with controls as O but what about removing the title and the share button plus the youtube logo at the bottom right?
It seems to appear when the video starts playing, is buffering, or is paused.

What I've tried

IFramePlayerOptions options = new IFramePlayerOptions.Builder().controls(0).ivLoadPolicy(3).rel(0).build();

@ayodorigan
Copy link
Author

This is the screenhot
Image

@PierfrancescoSoffritti
Copy link
Owner

You can use the controls option. However parts of the UI will remain visible. I recommend just using the web ui instead of the custom ui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants