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

click events not working after video exitfullsreen on ipad #669

Open
amitsingh17051 opened this issue May 15, 2020 · 3 comments
Open

click events not working after video exitfullsreen on ipad #669

amitsingh17051 opened this issue May 15, 2020 · 3 comments

Comments

@amitsingh17051
Copy link

I have show video on canvas. I somehow figure out how to do video fullscreen but another problem came. When we exit the fullscreen canvas all pointerdown event stop working on ios devices.

@amitsingh17051
Copy link
Author

amitsingh17051 commented May 18, 2020

$('#video').bind('webkitfullscreenchange mozfullscreenchange fullscreenchange', function(e) {

                        var state = document.fullScreen || document.mozFullScreen || document.webkitIsFullScreen;
                        var event = state ? 'FullscreenOn' : 'FullscreenOff';
                        // Now do something interesting
                        // alert('Event: ' + event);   
                       
                            return false;
                      
                    });

@samme
Copy link
Collaborator

samme commented May 19, 2020

Could you try phaser-test.js.gz to see if it makes a difference?

@samme
Copy link
Collaborator

samme commented May 19, 2020

Does this reproduce the problem? https://codepen.io/samme/pen/JjYwKML

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

No branches or pull requests

2 participants