Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank screen shown when fullscreen button is clicked #28

Open
Sahana312 opened this issue Jul 31, 2017 · 7 comments
Open

Blank screen shown when fullscreen button is clicked #28

Sahana312 opened this issue Jul 31, 2017 · 7 comments

Comments

@Sahana312
Copy link

When the full screen button is clicked a blank black screen is shown sometimes. The video doesnt appear only the audio will be playing in the background. This happens even in your demo. i am loading an iframe with loadHtml(). Is there anything extra I have to do?

@Myerden
Copy link

Myerden commented Aug 21, 2017

could you show your code and layout file to see what is happening?

@igorfastronicorrea
Copy link

Hi guyz,

do you have any idea how fix this?

@phucnguyentrong
Copy link

Same issue, could anyone help us?

@Myerden
Copy link

Myerden commented Oct 5, 2017

I have faced like these problems. I fixed this by importing this views into my project directly.
I copied all the views and components into my project, created required classes then used that views. And now I can play youtube videos without having problem.

webview.zip

this zip archive includes the same VideoEnabledWebView.java and VideoEnabledWebChromeClient.java

You can copy these to your project and then use it.

thank you @cprcrack 👍

@HardikMaru
Copy link

@Myerden I have replaced the files with your one, still the same issue. Only white blank screen.

@igorfastronicorrea
Copy link

Hi Guy, My suggestion is utilized Google Youtube v3

https://developers.google.com/youtube/v3/

@BigCoach
Copy link

Try to replace .setVisibility(View.INVISIBLE ); with .setVisibility(View.GONE); in VideoEnabledWebChromeClient
It helped me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants