0 Replies
      Latest reply on Sep 5, 2019 9:41 AM by punnaghai
      punnaghai Level 1 Level 1 (0 points)

        Hi,

         

        We have a feature where we inject the html5 video into the WKWebView after the webview is created.

        The video loads and the features work great but I am not able to disable the user interaction like (double tap, pinch & zoom etc) which make the video play in native player with all the controls enabled in fullscreen.

         

        Starting from iOS 11, a "pinch" gesture on a video will make it enter full screen mode in the iOS native video player taking over from our app - this behavior is not desireable for our feature.

         

        Is there a way to disable the user interaction with the video using gestures or how can i disable the native player controls when on fullscreen.

         

        The iframe which embedds the video has the "allowfullscreen" attribute removed.