SvenTiigi / YouTubePlayerKit

A Swift Package to easily play YouTube videos 📺
https://sventiigi.github.io/YouTubePlayerKit/
MIT License
723 stars 64 forks source link

Inconsistent fullscreen behavior between iPhone and iPad #86

Closed kiddosai closed 8 months ago

kiddosai commented 8 months ago

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

SvenTiigi commented 8 months ago

Duplicate of https://github.com/SvenTiigi/YouTubePlayerKit/issues/52

kiddosai commented 8 months ago

(Thank you for being so reactive)