Implement the Media Session spec according to the WHATWG spec here: https://mediasession.spec.whatwg.org
<rdar://problem/21125667>
+1 This is really missing in WebKit.
This was filed against the old MediaSession spec.