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

Ability to control going in and out of fullscreen #70

Closed
kiddosai opened this issue Jul 31, 2023 · 1 comment
Closed

Ability to control going in and out of fullscreen #70

kiddosai opened this issue Jul 31, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@kiddosai
Copy link

Is your feature request related to a problem?

It seems all actions such as play, mute, ... have been exposed but not fullscreen.

What solution would you like?

Maybe something like that?
youTubePlayer.toggleFullscreen
youTubePlayer.isFullscreen

configuration {
autoFullscreen: true
}

What alternatives have you considered?

If I use my own Swift view with a UIViewRepresentable WKWebView loading the video URL automatically goes to fullscreen.

Any additional context?

No response

@SvenTiigi SvenTiigi added the question Further information is requested label Jul 31, 2023
@SvenTiigi
Copy link
Owner

Hi @kiddosai,

Unfortunately, there is no API for programmatically launching full-screen mode in either WebKit or the YouTube Player iFrame JS API.

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

No branches or pull requests

2 participants