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

Adding some audio events to Element.Event #2520

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matplane
Copy link

This commit adds all Audio Events as mentioned here : http://www.w3.org/wiki/HTML/Elements/audio#Media_Events
I'm not sure of the Type for each of them (http://mootools.net/docs/core/Element/Element.Event#Element-NativeEvents) so I just put Type 2 for all. Help is welcome for that.

@Shoplifter
Copy link

👍 according to docs

The reason to differentiate between 1 and 2 is that 1 is usually used for events that don't have interesting data like: onload, onscroll, and onresize, or it's more performant. The latter two, for example, are fired frequently.

for timeupdate type 1 should be sufficient, also it is fired frequently

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.

3 participants