Skip to content

1.1.5

Compare
Choose a tag to compare
@youlookwhat youlookwhat released this 24 Sep 14:30
· 35 commits to master since this release

fix 修复h5页面无故竖屏或横屏的情况 #35

    /**
     * 修复可能部分h5无故竖屏问题,如果h5里有视频全屏播放请禁用
     */
    public void setFixScreenPortrait(boolean fixScreenPortrait) {
        if (mWebChromeClient != null) {
            mWebChromeClient.setFixScreenPortrait(fixScreenPortrait);
        }
    }

    /**
     * 修复可能部分h5无故横屏问题,如果h5里有视频全屏播放请禁用
     */
    public void setFixScreenLandscape(boolean fixScreenLandscape) {
        if (mWebChromeClient != null) {
            mWebChromeClient.setFixScreenLandscape(fixScreenLandscape);
        }
    }