Android Question WebViewExtras and FullscreenAPI

BillMeyer

Well-Known Member
Licensed User
Longtime User
Hi,
Post your code - we'll help.
 
Upvote 0

Blueforcer

Well-Known Member
Licensed User
Longtime User
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
    99.7 KB · Views: 235
Upvote 0

Blueforcer

Well-Known Member
Licensed User
Longtime User
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")
the chrome engine is started.
 
Upvote 0
Top