IE10: dispatchEvent doesn't trigger binded custom events in case call play() from click #355

Open
vadim-bulochnik opened this Issue Oct 22, 2013 · 0 comments

Projects

None yet

1 participant

Hi!

I'm using popcorn null wrapper and in IE10 custom events may not be triggered in case calling play() from click event.

It sounds strange, but please check my example here: http://fiddle.jshell.net/vadim_bulochnik/7wtRL/2/show/

You can see that in IE10 only 'play' event fires, while in all other browsers 'timeupdate' event also fires (and in IE11 also ok).
I've tried to debug this issue and found that sometimes IE10 just ignores document.dispatchEvent() in popcorn._MediaElementProto.js on line 120.

After googling I found that seems this is a known bug:
http://connect.microsoft.com/IE/feedback/details/786395/dispatchevent-doesnt-trigger-click-when-called-from-on-click-reactivated
http://connect.microsoft.com/IE/feedback/details/802397/ie9-ie10-events-can-be-sent-to-the-wrong-listeners

Have you ever experienced a similar problem? Maybe there is a workaround?

Thanks!
Vadim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment