Closed kiddosai closed 1 year ago
It seems all actions such as play, mute, ... have been exposed but not fullscreen.
Maybe something like that? youTubePlayer.toggleFullscreen youTubePlayer.isFullscreen
configuration { autoFullscreen: true }
If I use my own Swift view with a UIViewRepresentable WKWebView loading the video URL automatically goes to fullscreen.
No response
Hi @kiddosai,
Unfortunately, there is no API for programmatically launching full-screen mode in either WebKit or the YouTube Player iFrame JS API.
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