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