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

Fix IE8 issues from 5.0 changes #2206

Merged
merged 1 commit into from
May 28, 2015
Merged

Fix IE8 issues from 5.0 changes #2206

merged 1 commit into from
May 28, 2015

Conversation

heff
Copy link
Member

@heff heff commented May 28, 2015

  • Fixed an issue using lodash.isPlainObject on elements in IE8 (reverted to old isPlain)
  • Turned on loose mode for Babel and added ES5 shim and sham to the examples
  • Fixed the Flash tech's events by creating the object in component.createEl (otherwise a default 'div' was created)

Fixes #2184
Might fix #2185 - I don't know why but I'm not seeing it at the moment

@eXon mind checking out the Flash tech bit?

@eXon
Copy link
Contributor

eXon commented May 28, 2015

@heff LGTM, no wonder Flash was crashing everywhere if it wasn't using createEl, thanks for fixing it faster than me :)

@heff
Copy link
Member Author

heff commented May 28, 2015

Awesome, thanks @eXon. Pulling in.

IE8 compatiblity fixes - Babel loose mode and ES5-shim

Reverted to old isPlainObject to fix IE8

Lodash.isplainobject was throwing a "Member not found error" on elements,
specifically the 'custom' track element being passed in options.

(turned out to be that we were using lodash modern, not compat)

Fixed full-window mode in IE8 by fixing fullscreen API check

Fixed the swf events by creating the object in component.createEl
fixes videojs#2184

Added es5 shim and sham to the sandbox example
related to videojs#1687
@heff heff merged commit a88e311 into videojs:master May 28, 2015
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.

timeupdate not firing for Flash tech
2 participants