Skip to content
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

TAG Feedback: properties reflect current UA state, or last value? #187

Closed
travisleithead opened this issue Mar 20, 2017 · 3 comments
Closed

Comments

@travisleithead
Copy link
Member

[Filed in response to the request for TAG feedback]

@xxyzzzq @mounirlamouri

metaData and playbackState, do these represent the last set value or the state that the UA is in? These may need to be async if the APIs will represent the UA's current state...

@xxyzzzq
Copy link
Contributor

xxyzzzq commented Mar 21, 2017

They represent the last set value. They are passed from the page to the UA (one-way only), where metadata is used for displaying the metadata in UI, and the playbackState is used to
display play/pause buttons and fire events for play/pause then there is a single joint button.

@travisleithead
Copy link
Member Author

OK. As long as these are one-way, and represent the last set value, that works.

Should there be a way of getting the current state of the UA (in case these get out of sync for some reason), or is that not a common-enough use case to merit an API?

@beccahughes
Copy link
Contributor

I don't think that would be a not common-enough use case to have it's own API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants