phaser-ce icon indicating copy to clipboard operation
phaser-ce copied to clipboard

click events not working after video exitfullsreen on ipad

Open amitsingh17051 opened this issue 5 years ago • 3 comments

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 avatar May 15 '20 07:05 amitsingh17051

$('#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;
                      
                    });

amitsingh17051 avatar May 18 '20 10:05 amitsingh17051

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

samme avatar May 19 '20 18:05 samme

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

samme avatar May 19 '20 19:05 samme