Skip to content

Commit 6e90163

Browse files
authored
Merge pull request #203 from hCaptcha/damian/fix-ios-video-playback
fix(video): Video Challenge attempts to open full screen with iOS SDK
2 parents f61d9d5 + aca65e5 commit 6e90163

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

HCaptcha/Classes/HCaptchaHtml.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// HCaptchaHtml.swift (Autogenerated)
33
// HCaptcha
44
//
5-
// Copyright © 2025 HCaptcha. All rights reserved.
5+
// Copyright © 2026 HCaptcha. All rights reserved.
66
//
77

88
import Foundation

HCaptcha/Classes/HCaptchaWebViewManager.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ fileprivate extension HCaptchaWebViewManager {
228228

229229
let conf = WKWebViewConfiguration()
230230
conf.userContentController = controller
231+
conf.allowsInlineMediaPlayback = true
232+
conf.mediaTypesRequiringUserActionForPlayback = []
231233

232234
return conf
233235
}

0 commit comments

Comments
 (0)