How to allow Android WebView to open YouTube video full screen | Android Studio Java Tutorial

preview_player
Показать описание
Can you help me to buy a coffee:

I forget to mention that to do this, please add android:configChanges="orientation|screenSize" into your Android manifest's activity declaration position as above otherwise full screen may not work properly.

activity
android:name=".MainActivity"
android:configChanges="orientation|screenSize"
android:exported="true"


Рекомендации по теме
Комментарии
Автор

omg I was just looking for this video. I hope it works for me. I will try now. Funny thing though I've been chatting with chatgpt for hours now . I never thought there will be this kind of video on yt. thank you

EDIT: it didn't work

I'm really frustrated now.

DASHTROYER
Автор

Hello. I have a question, maybe someone know. I’m need to put webview in homepage widget. How I know, this is impossible. Do you know any bypass solution how I can do it?

EugBoy
Автор

what ?: String htmlCode = "<html><body id='player' type='text/html' width=

haslin
Автор

can you send me projek Android WebView to open YouTube video full screen file zip and i send you 1 dollar with paypal brother

pemberdayaansosial-nk
Автор

its work only we add

in manifest
webView.setWebViewClient(new WebViewClient());
MyChrome());

and if you want only the video you need to add

WebViewClient() {
@Override
public boolean view, String url) {
return true;
}
});

vishnuvnair
visit shbcf.ru