Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

New Native Events to add to Element.NativeEvents #2222

Open
ibolmo opened this Issue · 1 comment

2 participants

@ibolmo
Owner

(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.

@SergioCrisostomo
Collaborator

Related: #2520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.