phaserjs / phaser-ce

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

Home Page:http://phaser.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

click events not working after video exitfullsreen on ipad

amitsingh17051 opened this issue · 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;
                      
                    });
commented

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

commented

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