Bug 145822 - Add support for toggling playback in MediaSessions and MediaSessionManagers
Summary: Add support for toggling playback in MediaSessions and MediaSessionManagers
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 145411
  Show dependency treegraph
 
Reported: 2015-06-09 16:09 PDT by Matt Rajca
Modified: 2015-06-09 17:43 PDT (History)
6 users (show)

See Also:


Attachments
Patch (4.19 KB, patch)
2015-06-09 16:22 PDT, Matt Rajca
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.