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

Android mobile: Fullscreen button not working #2160

Closed
netsetter opened this issue May 17, 2015 · 10 comments
Closed

Android mobile: Fullscreen button not working #2160

netsetter opened this issue May 17, 2015 · 10 comments

Comments

@netsetter
Copy link

First, thank you for this great HTML5 Player framework, good job!

I've integrated it (version 4.12.6) into the website and everything is running fine (.mp4)
Checked all recent browsers and all component buttons are working, except with the default browser on the android device (version 4.4.2), the fullscreen button of the player is completly ignored.

Is this already a known issue? Any idea how to fix?
When browsing videojs.com, clicking the intro video, same issue, when pressing the fullscreen icon, switching to fullscreen mode is completly ignored, no error message.

Best regards

@ghost
Copy link

ghost commented Jun 28, 2015

Hi netsetter!

I have the same problem. - Do you have a solution for this so far?

Greetings,
-Mirco-

@WangHaoming
Copy link

I have the exacted same problem! Do you have any solution so far?

@giggioman00
Copy link

Same issue here

@gkatsev
Copy link
Member

gkatsev commented Nov 17, 2015

In v5, we now default to native controls for native android browsers, so, I assume this isn't an issue anymore. See #2499
Closing, but can reopen if there's still an issue.

@gkatsev gkatsev closed this as completed Nov 17, 2015
@tonyawad88
Copy link

@gkatsev This is still an issue on Android. Running Crosswalk version 15. On iOS it works fine, iOS / Safari Mobile. The problem is that when I click the full screen button on Android, the whole page flickers and the video remains to play in non-full screen mode.

If I hold my thumb on the full-screen button for a couple seconds it successfully goes to full screen, hitting the full screen button once / tap once, doesn't work.

Any idea if there is a fix for this ?

Thank you,

@braianj
Copy link

braianj commented Mar 18, 2016

found this, just checking right now

@5ulo
Copy link

5ulo commented Jul 17, 2016

Problem still present - latest video.js, android 5.1, chrome

@mkeefe
Copy link

mkeefe commented Jul 25, 2016

Any proposed fix for this? Blocking a live app release. Tried requestFullScreen() both in a user-driven event and pragmatic. I either will see "method does not exist" or simply ignore the request outright.

As a quick test I tried the events for when you enter/leave fullscreen and those also are ignored. Tested on numerous Android devices new/old. Any ideas?

@gkatsev
Copy link
Member

gkatsev commented Jul 25, 2016

As far as I can tell it's because a lot of native WebViews on Android don't have the native Fullscreen API and our functionality to try and get the correct API isn't working on it.

It's possible that the WebView only lets the video element itself go into fullscreen like iOS does in a lot of cases (they still don't use the fullscreen API but their own thing). We potentially want to call this method on Android as well as on iOS. This is where the check is made.

@dreasn
Copy link

dreasn commented Mar 23, 2020

It might be late but for those who got here:
Add these attributes to the wrapper node (mine is iframe):

allowfullscreen="true"
webkitallowfullscreen="true"
mozallowfullscreen="true"

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants