[Webkit-unassigned] [Bug 149367] REGRESSION: WebAudio user-gesture restriction is no longer lifted by touchstart event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 29 11:29:39 PDT 2015


--- Comment #7 from Jer Noble <jer.noble at apple.com> ---
Honestly, "touchend" is the correct event to use for removing the gesture restriction. "touchstart" could be the beginning of a scroll gesture, and playing audio during this gesture could be completely undesirable from a user's perspective.  And in iOS 9, the frameworks underneath WebKit did indeed re-classify "touchstart" as an event which did not indicate an explicit user gesture.

So I would encourage the library authors CCd here to not remove their touchend workarounds. We'll fix this for backwards compatibility, but there may be a future date where audio-on-"touchend" will be a requirement.

(Also, keep in mind that the first explicit user gesture will lift the audio restriction for an entire AudioSession. So, after the first user gesture, audio initiated by "touchstart" events will be audible.)

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150929/f62d8024/attachment.html>

More information about the webkit-unassigned mailing list