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: make sure source options are passed through #5240

Merged
merged 1 commit into from Jun 11, 2018

Conversation

squarebracket
Copy link
Contributor

Description

The changes to source caching in #5156 introduced a regression where the source options were no longer available to plugins. This PR makes sure the cached source object retains any source options passed along.

Specific Changes proposed

Merge the entire source object into the cached source

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Change has been verified in an actual browser (Chome, Firefox, IE)
    • Unit Tests updated or fixed
    • Docs/guides updated
    • Example created (starter template on JSBin)
  • Reviewed by Two Core Contributors

Please let me know if you think I should check something other than player.currentSource() for the unit test.

@gkatsev gkatsev merged commit 246f0d4 into videojs:6.x Jun 11, 2018
@squarebracket squarebracket deleted the fix6/source-options branch June 11, 2018 18:22
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.

None yet

2 participants