Added media events to "NativeEvents" object#2727
Added media events to "NativeEvents" object#2727nbish11 wants to merge 1 commit intomootools:masterfrom
Conversation
|
Nice! Related: #2520 |
|
@GCheung55 I'm not very good at writing tests, but if you can link the original tests for the events already there (or a more specialized example of writing tests for events), I'll be happy to write some. |
|
I would also like to see this being included, but looking deeper into this I suggest delaying this. The problematic is that old browsers don't support this. So this would have to be included in a future MooTools version that has dropped old Browsers. The spec could be something like this maybe, using native event dispatcher API, but I think some events like |
|
@SergioCrisostomo you can't even normalize these events, because older browsers don't have video/audio support at all. Besides not all events that are currently in NativeEvents are supported by all browsers (input/paste), but it's still useful that MooTools directly redirects it to the native/browser events. |
No description provided.