Configuration in WebView

1

Good afternoon, I have an application (in xamarin for android) where inside it opens a webview in a link of a course platform that I have ... however there is a big difference between me opening this platform in my webView and in one browser like chrome for example ... In webView video of the VIMEO platform, when I press play, I can not then pause and leave it in fullscreen

Ingooglechrome(bythesamedevice),itisalreadypossibletopause,putinfullscreenmodeetc...

What do I need to do setup in my webview so it does not have these problems? Thanks

Here is an excerpt from the webview activity code:

protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            //MainActivity Url_Nav = new MainActivity();
            // Create your application here
            SetContentView(Resource.Layout.Nav);
            mWebView = FindViewById(Resource.Id.webNav);
            mWebView.Settings.JavaScriptEnabled = true;
            mWebView.LoadUrl(MainActivity.url);
            mWebView.SetWebViewClient(new WebViewClient());

        }

    }

    public class WebClient1 : WebViewClient
    {
        public override bool ShouldOverrideUrlLoading(WebView view, string url)
        {
            view.LoadUrl(url);
            return true;
        }
    }

Thank you!

    
asked by anonymous 08.05.2017 / 17:54

0 answers