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: Default overrideNative to check if browser is any Safari #843

Merged
merged 3 commits into from
Jun 10, 2020

Conversation

ipadilla4
Copy link
Contributor

Changes include setting hls overrideNative default to check IS_ANY_SAFARI constant.

I removed one unit test that was failing in Chrome and Firefox due to this new default value.

@welcome
Copy link

welcome bot commented May 13, 2020

💖 Thanks for opening this pull request! 💖

Things that will help get your PR across the finish line:

  • Run npm run lint -- --errors locally to catch formatting errors earlier.
  • Include tests when adding/changing behavior.
  • Include screenshots and animated GIFs whenever possible.

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.

Copy link
Contributor

@gesinger gesinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the test in, but alter it and add an additional test to accommodate the change. Maybe has no effect if native HLS is available and browser is Safari and loads if native HLS is available but browser is not Safari.

@gkatsev gkatsev added this to the 2.0 milestone May 21, 2020
Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified that on Android with this, we get VHS playback.

@gkatsev gkatsev merged commit 225d127 into videojs:master Jun 10, 2020
@welcome
Copy link

welcome bot commented Jun 10, 2020

Congrats on merging your first pull request! 🎉🎉🎉

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.

4 participants