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

6.x: fix: synchronously shim vtt.js when possible #4083

Merged
merged 1 commit into from
Feb 21, 2017

Conversation

brandonocasey
Copy link
Contributor

Description

See #4082

Specific Changes proposed

Please list the specific changes involved in this pull request.

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

@brandonocasey brandonocasey changed the title synchronously shim vtt.js when possible 5.x: fix: synchronously shim vtt.js when possible Feb 14, 2017
@@ -551,7 +558,10 @@ class Tech extends Component {
// we don't overwrite the injected window.WebVTT if it loads right away
window.WebVTT = true;
this.el().parentNode.appendChild(script);
} else {
this.ready(this.addWebVttScript_);
Copy link
Member

Choose a reason for hiding this comment

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

Nice, glad to see this change from an event listener. I was going to mention that could cause problems with multiple ready events. 💯

@brandonocasey brandonocasey changed the title 5.x: fix: synchronously shim vtt.js when possible 6.x: fix: synchronously shim vtt.js when possible Feb 21, 2017
@brandonocasey
Copy link
Contributor Author

browerstack is being weird when testing IE11, locally tests work. Going to merge this.

@brandonocasey brandonocasey merged commit e1b4804 into master Feb 21, 2017
@gkatsev gkatsev deleted the 6.x/fix/webttt-shim-sync branch March 24, 2017 22:35
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.

2 participants