Bug 145822

Summary: Add support for toggling playback in MediaSessions and MediaSessionManagers
Product: WebKit Reporter: Matt Rajca <mrajca>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, conrad_shultz, eric.carlson, jer.noble, mrajca, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 145411    
Attachments:
Description Flags
Patch none

Description Matt Rajca 2015-06-09 16:09:23 PDT
Per the Media Session spec, when a MediaPlayPause event is received, for each media session that:

1) has a current active state, and
2) has a 'Default' or 'Content' category,

we need to play all paused active elements and pause all playing active elements.
Comment 1 Radar WebKit Bug Importer 2015-06-09 16:10:41 PDT
<rdar://problem/21310877>
Comment 2 Matt Rajca 2015-06-09 16:22:18 PDT
Created attachment 254613 [details]
Patch
Comment 3 WebKit Commit Bot 2015-06-09 17:43:38 PDT
Comment on attachment 254613 [details]
Patch

Clearing flags on attachment: 254613

Committed r185394: <http://trac.webkit.org/changeset/185394>
Comment 4 WebKit Commit Bot 2015-06-09 17:43:42 PDT
All reviewed patches have been landed.  Closing bug.