Closed kiddosai closed 8 months ago
"playInline: false, fullscreenMode: .system" configuration automatically play video in fullscreen on iPhone but not on iPad. In other words how to get similar behavior on iPad?
var youTube: YouTubePlayer = YouTubePlayer(configuration: .init( automaticallyAdjustsContentInsets: true, allowsPictureInPictureMediaPlayback: false, fullscreenMode: .system, autoPlay: false, showControls: false, keyboardControlsDisabled: true, showFullscreenButton: false, showAnnotations: false, loopEnabled: false, useModestBranding: true, playInline: false, showRelatedVideos: false
Similar behavior in iPad than iPhone
Duplicate of https://github.com/SvenTiigi/YouTubePlayerKit/issues/52
(Thank you for being so reactive)
What happened?
"playInline: false, fullscreenMode: .system" configuration automatically play video in fullscreen on iPhone but not on iPad. In other words how to get similar behavior on iPad?
What are the steps to reproduce?
var youTube: YouTubePlayer = YouTubePlayer(configuration: .init( automaticallyAdjustsContentInsets: true, allowsPictureInPictureMediaPlayback: false, fullscreenMode: .system, autoPlay: false, showControls: false, keyboardControlsDisabled: true, showFullscreenButton: false, showAnnotations: false, loopEnabled: false, useModestBranding: true, playInline: false, showRelatedVideos: false
What is the expected behavior?
Similar behavior in iPad than iPhone