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

Remove playbackRate blacklist for recent Android Chrome #4321

Merged
merged 3 commits into from
May 11, 2017

Conversation

mister-ben
Copy link
Contributor

Description

Android Chrome now supports playbackRate properly, so removes the blacklist added in #3246 for newer Chrome versions.

Specific Changes proposed

Adds browser.CHROME_VERSION as a necessary evil.
No longer blacklists for Chrome 58+ -- this could possibly be fixed since 52, but 58 is all I've been able to test on and most users should keep Chrome up to date.

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
  • Reviewed by Two Core Contributors

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.

Do we want to make this change against 5.x as well?

const match = USER_AGENT.match(/Chrome\/(\d+)/);

if (match && match[1]) {
return match[1];
Copy link
Member

Choose a reason for hiding this comment

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

we should return parseFloat(match[1]) here so that we can actually do number comparison. The tests would need to be updated in that case.

@gkatsev gkatsev merged commit da0f1ee into videojs:master May 11, 2017
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.

2 participants