New Native Events to add to Element.NativeEvents #2222

Open
ibolmo opened this Issue Jan 19, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Owner

ibolmo commented Jan 19, 2012

(from Lighthouse)

The new HTML5 Audio and Video tags have new native events that cannot be listened to using Element.addEvent() because they are not in the Elements.NativeEvents array.

For the full list of events, see the MDC table here:

https://developer.mozilla.org/en/using_audio_and_video_in_firefox#M...

It looks like this is the file that needs to include these new events:

http://github.com/mootools/mootools-core/blob/master/Source/Element...

You can reproduce this by having an audio tag and trying to call something like

$('player').addEvent('play', function(e) { alert('play'); });
and the play callback will never be called .


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Member

SergioCrisostomo commented Jun 19, 2014

Related: #2520

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