Bug 168852

Summary: Media: notify clients when autoplayed media ends without being paused
Product: WebKit Reporter: Matt Rajca <mrajca>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=171932
Attachments:
Description Flags
Patch
none
Patch
none
Patch achristensen: review+

Description Matt Rajca 2017-02-24 16:11:41 PST
Notify clients when media that was autoplaying ended without being explicitly paused by the user.
Comment 1 Matt Rajca 2017-02-24 16:29:22 PST
Created attachment 302703 [details]
Patch
Comment 2 Matt Rajca 2017-02-24 17:22:10 PST
Created attachment 302715 [details]
Patch
Comment 3 Matt Rajca 2017-02-28 10:28:48 PST
Created attachment 302946 [details]
Patch
Comment 4 Alex Christensen 2017-02-28 10:42:53 PST
Comment on attachment 302946 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=302946&action=review

> Source/WebCore/page/AutoplayEvent.h:33
> +    DidPlayMediaWithoutInterference,

DidEndMediaPlaybackWithoutUserInterference
Comment 5 Matt Rajca 2017-02-28 10:54:46 PST
(In reply to comment #4)
> Comment on attachment 302946 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=302946&action=review
> 
> > Source/WebCore/page/AutoplayEvent.h:33
> > +    DidPlayMediaWithoutInterference,
> 
> DidEndMediaPlaybackWithoutUserInterference

Changed.
Comment 6 Matt Rajca 2017-02-28 11:44:57 PST
Committed r213161: <http://trac.webkit.org/changeset/213161>