SvenTiigi/YouTubePlayerKit

Inconsistent fullscreen behavior between iPhone and iPad

Closed this issue · 2 comments

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

Duplicate of #52

(Thank you for being so reactive)