cprcrack / VideoEnabledWebView

Android's WebView and WebChromeClient class extensions that enable fully working HTML5 video support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example project gets rid of toggle fullscreen button.

amozoss opened this issue · comments

https://github.com/cprcrack/VideoEnabledWebView/blob/master/app/src/main/java/name/cpr/ExampleActivity.java#L32-L39

I had to remove the linked lines of code for the toggle fullscreen button to appear in the embedded video player. Not really sure what is happening, but it works when onProgressChanged is not overridden with the constructor. I am using a nexus 5, lollipop.

Same thing for me. Using Lollipop 5.0.2 on Samsung Galaxy S6. Removing the lines pointed out by @amozoss fixed the problem. It is still working correctly on Android KitKat 4.4.2 after removing the lines.