[Webkit-unassigned] [Bug 193128] New: Make DidPlayMediaPreventedFromPlaying autoplay event more generic

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 3 16:25:32 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=193128

            Bug ID: 193128
           Summary: Make DidPlayMediaPreventedFromPlaying autoplay event
                    more generic
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mrajca at apple.com

Today, the "DidPlayMediaPreventedFromPlaying" autoplay event is only sent for media prevented from playing. It could be generalized to "DidPlayMediaWithUserGesture" with a flag that indicates whether or not autoplay was actually prevented or not. Moreover, we can include a flag that indicates whether the media element in question is main content. Clients will then know in more cases when media was played with a user gesture, whether or not it has sound, as well as its main content status.

Work towards fixing: rdar://34554231

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


More information about the webkit-unassigned mailing list