-
Notifications
You must be signed in to change notification settings - Fork 96
Can we follow HTMLMediaElement interface for midi-player HTMLElement? #65
Copy link
Copy link
Open
Description
Currently, it declare start() for playing the midi file.
In HTMLMediaElement, its interface for playing audio is play().
It would be great to follow same interface as HTMLMediaElement Instance Methods.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play
Instance property
- autoplay
- buffered
- controls: boolean
- currentTime
- currentSrc
- defaultMuted: boolean
- duration
- ended
- error
- loop
- muted
- paused
- playbackRate
- preservesPitch
- readyState
- seekable
- seekId
Instance Property (special for midi-player)
- seeking
- playing
Instance Methods
- play() - rename
start()toplay() - stop()
- pause()
- canPlayType()
- load()
- fastSeek()
Events
- canplay
- play - rename
starttoplay - playing
- pause
- timeupdate
- error
- ended
- abort
- durationchange
- loadstart
- loadeddata
- volumechange
- suspend
- seeking
- seeked
Special Events for midi-player
- note
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels