mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Allow video playback on iOS
Example page: https://www.technologyreview.com/2022/03/28/1048355/quantum-computing-has-a-hype-problem
This commit is contained in:
parent
ea7ad52ca6
commit
d2e14fc935
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue