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

Add lang attribute to player el #4046

Merged
merged 1 commit into from
Feb 15, 2017

Conversation

mister-ben
Copy link
Contributor

Description

If the player language had been set via player options to something other than the document language, the css :lang() pseudo-class would match a different language code than player.language(). This would be matter for #4028.

Specific Changes proposed

Set the lang attribute on the player element during initialisation.

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

@brandonocasey brandonocasey merged commit 17143fd into videojs:master Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants