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

New Native Events to add to Element.NativeEvents #2222

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

New Native Events to add to Element.NativeEvents #2222

ibolmo opened this issue Jan 19, 2012 · 1 comment
Milestone

Comments

@ibolmo
Copy link
Member

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.

@SergioCrisostomo
Copy link
Member

Related: #2520

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

No branches or pull requests

2 participants