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

Fix playback of VDMS assets in demo app #1388

Merged
merged 1 commit into from
Apr 2, 2018

Conversation

TheJohnBowers
Copy link
Contributor

As of 04-02-2018 VDMS manifest servers are no longer passing
data via cookies. As such the servers are no longer setting
'Access-Control-Allow-Credentials' header in the response.
The demo player is currently configured to set include credentials
for the VDMS assets and without the Allow Credentials error we get
a CORS error when attempting playback:

The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. Origin 'https://shaka-player-demo.appspot.com' is therefore not allowed access

This change updates the VDMS asset callback to ensure that the credential
mode is no longer 'include'.

should no longer set "include credentials" on license requests.
Doing so results in a CORS error. This change fixes playback
of a couple assets in the demo player.
@shaka-bot
Copy link
Collaborator

All tests passed!

@joeyparrish joeyparrish merged commit 7935be5 into shaka-project:master Apr 2, 2018
joeyparrish pushed a commit that referenced this pull request Apr 2, 2018
We should no longer set "include credentials" on VDMS license
requests.  Doing so results in a CORS error. This change fixes
playback of a couple assets in the demo player.
@joeyparrish
Copy link
Member

Thanks! Cherry-picked for v2.3.6.

@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants