Open tinwatchman opened 9 years ago
That's interesting. I'm pretty positive we don't support compatibility mode, so we should probably detect this case specifically and show an error.
Sent from mobile
I would agree with Tinwatchman, that the detection should at least be sane. I have used the Tim Downs answer from stackoverflow and I think it's pretty bulletproof: http://stackoverflow.com/questions/10964966/detect-ie-version-prior-to-v9-in-javascript
Would anyone want to a PR for "Unsupported Browser" Modal dialog for vjs 5?
Updating the title to "Unsupported Browser" modal.
So here's a fun one for you... so you know how you guys are parsing the user agent string to determine whether or not a browser is IE8? The problem is that -- on _INTRA_net sites, as in on an internal network -- IE8 by default goes into Compatibility Mode. Which means its user string actually looks like this:
Meaning the user string check fails -- meaning the code generates a whole bunch of errors afterwards, since the script doesn't know it's running in IE8. I would suggest either relying on feature detection for this, or otherwise (for a quick fix) update line 408 (or thereabouts) in lib.js from this:
to this:
If only to spare some poor idiot out there the same path I've been dealing with all afternoon here.