Merge pull request #344 from omnivore-app/fix/ios-allow-video-playback

Allow video playback on iOS
This commit is contained in:
Jackson Harper 2022-03-30 14:31:11 -07:00 committed by GitHub
commit b7634f93cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,8 @@ enum WebViewConfigurationManager {
static func create() -> WKWebViewConfiguration {
let config = WKWebViewConfiguration()
config.processPool = processPool
// config.limitsNavigationsToAppBoundDomains = true
config.allowsInlineMediaPlayback = true
config.mediaTypesRequiringUserActionForPlayback = .audio
return config
}
}