-
Notifications
You must be signed in to change notification settings - Fork 55
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
Can we follow HTMLMediaElement interface for midi-player
HTMLElement?
#65
Comments
@muxinc/elements can be helpful for implementing all events / properties / methods. https://github.com/muxinc/elements They provide great compatibility with HTMLMediaElement with clean code. If you allow me to modify its interface to be like HTMLMediaElement, i can take my efforts on here and can make PR for this. |
This is interesting, but if it requires some big changes, I would need to understand if and why it's really worth it. We can of course add I'm probably not so much in favor of complete support for the whole |
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
Instance Property (special for
midi-player
)Instance Methods
start()
toplay()
Events
start
toplay
Special Events for
midi-player
The text was updated successfully, but these errors were encountered: