HomeSketchwarePage 3
Posted in Sketchware

Enable Fullscreen for Youtube videos in WebView

1) Create a New project in Sketchware App. 2) In View area add WebView as webview1. 3) Add more block as full. 4) Copy the below code to more block in add source directly}public class CustomWebClient extends WebChromeClient {private View mCustomView;private WebChromeClient.CustomViewCallback mCustomViewCallback;protected FrameLayout frame;// Initially mOriginalOrientation is set to Landscapeprivate int mOriginalOrientation =;private […]