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

Youtube player features availability #1185

Open
AsifPatan opened this issue Nov 17, 2024 · 1 comment
Open

Youtube player features availability #1185

AsifPatan opened this issue Nov 17, 2024 · 1 comment
Labels

Comments

@AsifPatan
Copy link

Question / Problem

Summary

Platform : Android Application

Hey @PierfrancescoSoffritti ,

Is there a way to access the playback speed, quality and other options that will pop out when we click on gear icon in web layout using custom view elements like buttons etc..?

Also , if some video is playing then if i click on the title of video or on the watermark that appears at bottom right it is navigating to youtube app can i prevent these actions without using custom layout

What I've tried

I have tried onclick Listeners for player but could not get it

@PierfrancescoSoffritti
Copy link
Owner

Is there a way to access the playback speed, quality and other options that will pop out when we click on gear icon in web layout using custom view elements like buttons etc..?

You can set volume, playback rate etc using the YouTubePlayer interface. Currently there is no way to change the quality. Last time I tried it wasn't supported by the IFrame Player (they have an API but was no-op on mobile).

Also , if some video is playing then if i click on the title of video or on the watermark that appears at bottom right it is navigating to youtube app can i prevent these actions without using custom layout

There are hacky ways to remove these elements through CSS. But it's against YouTube terms of service so I wouldn't recommend doing that.

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