phaserjs/phaser-ce

click events not working after video exitfullsreen on ipad

amitsingh17051 opened this issue · 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.

$('#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 commented

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

samme commented

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