Blueforcer Well-Known Member Licensed User Longtime User Oct 2, 2017 #1 hello, I have built a website that executes the fullscreenAPI via a button. In the mobile Chrome and the normal Android web browser it works. however, it does not work via the Webview. is there a possibility to activate it there? https://www.sitepoint.com/use-html5-full-screen-api/ Last edited: Oct 2, 2017
hello, I have built a website that executes the fullscreenAPI via a button. In the mobile Chrome and the normal Android web browser it works. however, it does not work via the Webview. is there a possibility to activate it there? https://www.sitepoint.com/use-html5-full-screen-api/
BillMeyer Well-Known Member Licensed User Longtime User Oct 2, 2017 #2 Hi, Post your code - we'll help. Upvote 0
Blueforcer Well-Known Member Licensed User Longtime User Oct 2, 2017 #3 Thats only a Webview App that displays my Website. On the website there is a button wich toggle a specific element to Fullscreen. But this button dont work inside the webview app. Only in normal Browser Attachments webview.zip webview.zip 99.7 KB · Views: 387 Upvote 0
Thats only a Webview App that displays my Website. On the website there is a button wich toggle a specific element to Fullscreen. But this button dont work inside the webview app. Only in normal Browser
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2017 #4 You can make the WebView full screen by showing it in a full screen activity. Upvote 0
Blueforcer Well-Known Member Licensed User Longtime User Oct 4, 2017 #5 I think I've explained my problem too badly. I've got two things: once the website (HTML5, lavarel, Apache linux server) and on the other hand the app that displays only this web site. On the website I have a <div> which shows a livestream (VNC). There is also a button which executes the FullScreen API via Javascript (document.getElementById("myVNC").requestFullscreen() This has to follow for most browsers that the <div> shows in true full screen. You can test a example here: http://blogs.sitepointstatic.com/examples/tech/full-screen/index.html This works on Google Chrome, Firefox, Opera and the original Android Browser. but it doesnt work in my app, It seems that the fullscreen API is not supported. Java script is executed correctly. Wich browser-engine is used with WebView? I thought with WebViewExtras1. addWebChromeClient (WebView1,"WebViewExtras1") Click to expand... the chrome engine is started. Upvote 0
I think I've explained my problem too badly. I've got two things: once the website (HTML5, lavarel, Apache linux server) and on the other hand the app that displays only this web site. On the website I have a <div> which shows a livestream (VNC). There is also a button which executes the FullScreen API via Javascript (document.getElementById("myVNC").requestFullscreen() This has to follow for most browsers that the <div> shows in true full screen. You can test a example here: http://blogs.sitepointstatic.com/examples/tech/full-screen/index.html This works on Google Chrome, Firefox, Opera and the original Android Browser. but it doesnt work in my app, It seems that the fullscreen API is not supported. Java script is executed correctly. Wich browser-engine is used with WebView? I thought with WebViewExtras1. addWebChromeClient (WebView1,"WebViewExtras1") Click to expand... the chrome engine is started.
Erel B4X founder Staff member Licensed User Longtime User Oct 4, 2017 #6 B4A WebView = native WebView. The engine is based on the Android version. I guess that the browser app handle this API themselves. Upvote 0
B4A WebView = native WebView. The engine is based on the Android version. I guess that the browser app handle this API themselves.