Android can't full screen

hi i need he help i try embeded video using webview on android it works but i can’t full screen

html file
script src= “https://player.twitch.tv/js/embed/v1.js”>
div id=“player div ID>”>
script type=“text/javascript”>
var options = {
width: ‘100%’,
height: ‘100%’,
video: “556749875”,
// only needed if your site is also embedded on embed.example.com and
othersite.example.com
parent: [“embed.example.com”, “othersite.example.com”]
};
var player = new Twitch.Player(“player div ID>”, options);
player.setVolume(0.5);
/script>

java file

    mWebView.settings.javaScriptEnabled=true
    mWebView.settings.useWideViewPort=true
    mWebView.settings.loadWithOverviewMode=true

    mWebView.webChromeClient=WebChromeClient()
    mWebView.loadUrl(url)

thanks

this works fine https://github.com/RachitShah02/Webview-Video-Fullscreen

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.