mirror of
https://github.com/hub-team/OnlineChatSdk-SwiftPM.git
synced 2026-04-15 17:06:09 +00:00
0.2.6
This commit is contained in:
@@ -163,6 +163,9 @@ open class ChatController: UIViewController, WKNavigationDelegate, WKScriptMessa
|
|||||||
let config = WKWebViewConfiguration()
|
let config = WKWebViewConfiguration()
|
||||||
config.userContentController = contentController
|
config.userContentController = contentController
|
||||||
config.preferences = preferences
|
config.preferences = preferences
|
||||||
|
config.mediaPlaybackRequiresUserAction = false
|
||||||
|
config.allowsInlineMediaPlayback = true
|
||||||
|
|
||||||
|
|
||||||
var frame = UIScreen.main.bounds
|
var frame = UIScreen.main.bounds
|
||||||
if parent != nil && parent?.view != nil && parent?.view.bounds != nil {
|
if parent != nil && parent?.view != nil && parent?.view.bounds != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user