{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/mediasession/issues/77","labels_url":"https://api.github.com/repos/whatwg/mediasession/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/mediasession/issues/77/comments","events_url":"https://api.github.com/repos/whatwg/mediasession/issues/77/events","html_url":"https://github.com/whatwg/mediasession/issues/77","id":91835779,"number":77,"title":"Remove HTMLMediaElement.kind","user":{"login":"mounirlamouri","id":573590,"avatar_url":"https://avatars.githubusercontent.com/u/573590?v=3","gravatar_id":"","url":"https://api.github.com/users/mounirlamouri","html_url":"https://github.com/mounirlamouri","followers_url":"https://api.github.com/users/mounirlamouri/followers","following_url":"https://api.github.com/users/mounirlamouri/following{/other_user}","gists_url":"https://api.github.com/users/mounirlamouri/gists{/gist_id}","starred_url":"https://api.github.com/users/mounirlamouri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mounirlamouri/subscriptions","organizations_url":"https://api.github.com/users/mounirlamouri/orgs","repos_url":"https://api.github.com/users/mounirlamouri/repos","events_url":"https://api.github.com/users/mounirlamouri/events{/privacy}","received_events_url":"https://api.github.com/users/mounirlamouri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/whatwg/mediasession/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-29T15:22:23Z","updated_at":"2015-07-06T08:25:42Z","closed_at":"2015-07-06T08:25:42Z","body":"The ```HTMLMediaElement.kind``` attribute makes the spec more complicated because the attribute might not match what is set in the ```HTMLMediaElement.session.kind```. It could also make the API confusing to some developers because without reading the spec, it might be hard to guess how different ```kind``` interact with each other (part of the same session or not?).\r\n\r\nThe benefit of the attribute is merely a syntax sugar on top of the JS API. It seems that the specification isn't at a maturity level where this syntax sugar is required. In my opinion, at the moment, the cons outweight the pros and we should remove this feature from the specification. \r\n\r\nHaving a JS snippet on the side implementing it might be interesting though."},"comment":{"url":"https://api.github.com/repos/whatwg/mediasession/issues/comments/118773038","html_url":"https://github.com/whatwg/mediasession/issues/77#issuecomment-118773038","issue_url":"https://api.github.com/repos/whatwg/mediasession/issues/77","id":118773038,"user":{"login":"richtr","id":497699,"avatar_url":"https://avatars.githubusercontent.com/u/497699?v=3","gravatar_id":"","url":"https://api.github.com/users/richtr","html_url":"https://github.com/richtr","followers_url":"https://api.github.com/users/richtr/followers","following_url":"https://api.github.com/users/richtr/following{/other_user}","gists_url":"https://api.github.com/users/richtr/gists{/gist_id}","starred_url":"https://api.github.com/users/richtr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richtr/subscriptions","organizations_url":"https://api.github.com/users/richtr/orgs","repos_url":"https://api.github.com/users/richtr/repos","events_url":"https://api.github.com/users/richtr/events{/privacy}","received_events_url":"https://api.github.com/users/richtr/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T08:25:42Z","updated_at":"2015-07-06T08:25:42Z","body":"`HTMLMediaElement.kind` (and the &lt;audio> and &lt;video> `kind` content attributes) has now been removed in https://github.com/whatwg/mediasession/commit/e96c40ff9022cffa0bbcd8e3a9ad0a3e9df23b3f.\r\n\r\nIf there is any further feedback on this removal please re-open this issue or create a new issue as appropriate."}}