New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md #1
Conversation
Some tweaks. Why do we need MediaControlApiInit? Also, I think "Browser-Side Control System" is confusing: is it the thing that intercepts the keys (chrome.commands) or the extension in this case (Keysocket) ?
Thank you! 1. Browser-Side Control SystemThis is a bad term, it's better to replace it with something less confusing. I'll try to explain what did I mean. Media Action is an intent to start/stop/pause playback of a media source, or to choose next or previous track, or +- sound volume. Media Control API can be used to deliver Media Actions to web page. Media Event is a carrier, it holds information about Media Action (just a message type currently). Media Event always triggered on browser side by extension (currently) or browser itself (in future). There isn't any difference for API or web page, who really triggers this event. It's obvious, that it will always be a component, that works on browser level, not on web page level. Talking about extension, I should mention, that media keys translator (like Keysocket) is not the only one candidate to work on browser side. Right now Keysocket is main target and the reason why I do this work. The next my target is extension for client-server remote control over web page playback. I'm already working on it. This extension can use the same API in future. So, we have some stuff that works on browser side. Than we have API. And in the end, we have a web page.
Browser-Side Control System is anything that works left of API. It's some kind of abstraction. Currently it is always an extension (or few different extensions in the same time), in future it can be also browser itself. Notice: the way used to initiate Media Action (key press, or remote message, or anything else) is out of interest of this API. API's interest is to pass particular Media Action to particular web page. 2. MediaControlApiInit
Additionally, API guaranties that meta-tag will be parsed after But, writing this answer I've understood that 3. What's next?I offer to replace the term "Browser-Side Control System" to something better, than to merge this PR. My PR#122 on Keysocket must wait at least until |
I already have a solution for So, meta tag will be required to get under control initially, and meta tag manipulation + |
MediaControlStateChanged sounds like a good proposal, but can you spec out On Fri, May 1, 2015 at 2:07 PM Valera Leontyev notifications@github.com
|
Yes, I'll update spec a little bit later. And now I want to finish with your corrections and merge this PR. What about replacement "Browser-Side Control System" with "Browser-Side Component"?
What do you think about this? Is it confusing? |
I merge this PR and will update text to replace "Browser-Side Component" with "Browser-Side Component" |
Thanks! On Tue, May 5, 2015 at 11:27 AM Valera Leontyev notifications@github.com
|
Some tweaks (still not perfectly happy)
Big question: why do we need MediaControlApiInit?
Also, I think "Browser-Side Control System" is confusing: is it the thing that intercepts the keys (chrome.commands) or the extension in this case (Keysocket) ?