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

Web SDK accounts for undefined values in restrictions #119

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

nzoschke
Copy link
Contributor

@nzoschke nzoschke commented Jul 1, 2021

According to the WebPlaybackState Object docs, the disallowed fields can be "undefined, which indicates the particular operation is allowed".

This defaults undefined values for skipping_next to true.

Fixes #118

@fotiDim fotiDim merged commit 49852bc into brim-borium:main Jul 5, 2021
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

Successfully merging this pull request may close these issues.

Web SDK subscribePlayerState Uncaught TypeError: null: type 'minified:p1' is not a subtype of type 'bool'
2 participants