@@ -36,6 +36,7 @@ class FirstTabViewController: UIViewController, UIScrollViewDelegate, UIGestureR
tapGesture.cancelsTouchesInView = false
tapGesture.delegate = self
let configuration = WKWebViewConfiguration()
+ configuration.allowsInlineMediaPlayback = true
let customUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Mobile/15E148 Safari/604.1 easySoftIndonesia"
let dataImage = try? Data(contentsOf: URL(string: PrefsUtil.getUrlDock()!)!) //make sure your image in this url does exist, otherwise unwrap in a if let check / try-catch
@@ -37,6 +37,7 @@ class ThirdTabViewController: UIViewController, UIScrollViewDelegate, UIGestureR
tapGesture.cancelsTouchesInView = false
tapGesture.delegate = self
let configuration = WKWebViewConfiguration()
+ configuration.allowsInlineMediaPlayback = true
let customUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Mobile/15E148 Safari/604.1 easySoftIndonesia"
let dataImage = try? Data(contentsOf: URL(string: Utils.getUrlDock()!)!) //make sure your image in this url does exist, otherwise unwrap in a if let check / try-catch