Hallo, I have implemented my app by TabActivity. There is a WebView as a root of layout in the one on the child activities. Orientation of all activities of project is setup to portrait in mainfest file. Everything works well, but problem occured if I double click on youtube video -> change orientation of screen to landscape and open video fullscreen. And after the video finish playing so all screens, activities.. all has changed orientation to landscape as fullscreen video. it's not appropriate for me. My application should work only with portrait screen orientation. And I would like to ask you maybe how to disable play video fullscreen in webview or how to change screen orientation back to portrait after the video finishes.
Or if you can give me some other advices, I'll be very thankful to you. Here is example of declaration my WebView: web = (WebView) findViewById(R.id.webView); web.getSettings().setJavaScriptEnabled(true); web.getSettings().setAllowFileAccess(true); web.getSettings().setPluginsEnabled(true); web.setWebViewClient(new CustomWebViewClient()); web.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE); web.setScrollBarStyle(WebView.SCROLLBARS_INSIDE_OVERLAY); web.loadUrl(URL); thank you very much -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

