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

Disable time tooltips entirely in IE8 #4029

Merged
merged 3 commits into from
Feb 3, 2017

Conversation

misteroneill
Copy link
Member

@misteroneill misteroneill commented Feb 2, 2017

Pretty self-explanatory. These are more trouble than they're worth for a browser we only semi-support.

There are also a few tiny code cleanup pieces in here. Nothing significant.

Requirements Checklist

  • Feature implemented / Bug fixed
  • Reviewed by Two Core Contributors

'playProgressBar'
],
barName: 'playProgressBar'
};

if (!IE_VERSION || IE_VERSION > 8) {
SeekBar.prototype.options_.children.push('mouseTimeDisplay');
Copy link
Member

Choose a reason for hiding this comment

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

should we splice it in to maintain the ordering?

Copy link
Contributor

@brandonocasey brandonocasey left a comment

Choose a reason for hiding this comment

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

One comment otherwise, LGTM

children: [
'timeTooltip'
]
children: IE_VERSION && IE_VERSION < 9 ? [] : ['timeTooltip']
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we may want make this the same style as the other if check

@brandonocasey
Copy link
Contributor

Booting up IE8 to test, code looks good

Copy link
Contributor

@brandonocasey brandonocasey left a comment

Choose a reason for hiding this comment

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

tested on IE8, IE10, and Chrome. LGTM

@brandonocasey brandonocasey merged commit 60bcc99 into videojs:master Feb 3, 2017
@misteroneill misteroneill deleted the time-tooltips-ie8 branch February 6, 2017 15:05
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.

3 participants