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

Fixed for unlocking audio with Pointer Events #306

Merged
merged 1 commit into from
Jul 31, 2017
Merged

Conversation

AleBles
Copy link
Contributor

@AleBles AleBles commented Jul 31, 2017

This PR (choose one or more, ✏️ delete others)

Describe the changes below:

Moved addTouchLockCallback and removeTouchLockCallback from Phaser.Touch to Phaser.Input so they can also be used for Phaser.MSPointer (Pointer Events). Also added touchLock callback to chrome versions > 55 due to audio not playing on mobile when in an cross-origin iframe. MSPointer now also handles touchlocks

…uch to Phaser.Input so they can also be used for Phaser.MSPointer (Pointer Events). Also added touchLock callback to chrome versions > 55 due to audio not playing on mobile when in an cross-origin iframe. MSPointer now also handles touchlocks
@samme samme merged commit 1f28892 into phaserjs:master Jul 31, 2017
samme added a commit that referenced this pull request Aug 3, 2017
samme added a commit that referenced this pull request Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chrome 55 now requires audio to be unlocked by user gestures, fails playing audio on Android in iframe
2 participants