@@ -15,6 +15,10 @@ public extension YouTubePlayer {
15
15
/// - Note: This property is excluded from encoding
16
16
public var isUserInteractionEnabled : Bool ?
17
17
18
+ /// A Boolean value indicating if safe area insets should be added automatically to content insets
19
+ /// - Note: This property is excluded from encoding
20
+ public var automaticallyAdjustsContentInsets : Bool ?
21
+
18
22
/// A Boolean value that indicates whether HTML5 videos can play Picture in Picture.
19
23
/// - Note: This property is excluded from encoding
20
24
public var allowsPictureInPictureMediaPlayback : Bool ?
@@ -97,6 +101,7 @@ public extension YouTubePlayer {
97
101
/// Creates a new instance of `YouTubePlayer.Configuration`
98
102
public init (
99
103
isUserInteractionEnabled: Bool ? = nil ,
104
+ automaticallyAdjustsContentInsets: Bool ? = nil ,
100
105
allowsPictureInPictureMediaPlayback: Bool ? = nil ,
101
106
autoPlay: Bool ? = nil ,
102
107
captionLanguage: String ? = nil ,
@@ -118,6 +123,7 @@ public extension YouTubePlayer {
118
123
customUserAgent: String ? = nil
119
124
) {
120
125
self . isUserInteractionEnabled = isUserInteractionEnabled
126
+ self . automaticallyAdjustsContentInsets = automaticallyAdjustsContentInsets
121
127
self . allowsPictureInPictureMediaPlayback = allowsPictureInPictureMediaPlayback
122
128
self . autoPlay = autoPlay
123
129
self . captionLanguage = captionLanguage
0 commit comments