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 uninitialized variable in basic usage example #3687

Merged
merged 1 commit into from Mar 30, 2021
Merged

Fix uninitialized variable in basic usage example #3687

merged 1 commit into from Mar 30, 2021

Conversation

rgov
Copy link
Contributor

@rgov rgov commented Mar 26, 2021

The basic usage example contains a bug in which, if HLS is not supported, the video variable will never be initialized. Yet the else if branch assumes that video contains a reference to the <video> element.

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

demo/basic-usage.html Outdated Show resolved Hide resolved
@rgov
Copy link
Contributor Author

rgov commented Mar 27, 2021

The feedback was incorporated and the PR is ready to go.

@robwalch robwalch merged commit d734f2c into video-dev:master Mar 30, 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.

None yet

2 participants