Created
February 22, 2019 10:30
-
-
Save alexkonst/60ac883e380ed9837bdab335d5683dcf to your computer and use it in GitHub Desktop.
All media events as array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://developer.mozilla.org/en/docs/Web/Guide/Events/Media_events | |
export const mediaEvents = [ | |
'abort', | |
'canplay', | |
'canplaythrough', | |
'durationchange', | |
'emptied', | |
// 'encrypted', | |
'ended', | |
'error', | |
'interruptbegin', | |
'interruptend', | |
'loadeddata', | |
'loadedmetadata', | |
'loadstart', | |
// 'mozaudioavailable', | |
'pause', | |
'play', | |
'playing', | |
'progress', | |
'ratechange', | |
'seeked', | |
'seeking', | |
'stalled', | |
'suspend', | |
'timeupdate', | |
'volumechange', | |
'waiting', | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment