News for hackers. Stuff that matters.
Re:New WebKit features in Safari 15.4 by lern_too_spel on Monday March 14, 2022 @07:02PM (#30679664)
WebMIDI support in Firefox is almost complete. https://bugzilla.mozilla.org/show_bug.cgi?id=836897
Re:New WebKit features in Safari 15.4 by eternityforest on Monday March 14, 2022 @11:56PM (#30681509)
Finally Mozilla does something sane! This is really great news, and I could see this being a pretty big thing or even a major way of doing web enabled IoT.
Re:New WebKit features in Safari 15.4 by lioeters on Tuesday March 15, 2022 @02:09AM (#30682126)
I've been regularly checking that page, delighted with every step of progress as WebMIDI gets implemented in Firefox.

In about:config, I have dom.webmidi.enabled set to true. I'm using this test page and waiting for the day it starts working for regular version of Firefox.

https://versioduo.com/webmidi-test/

Re:New WebKit features in Safari 15.4 by ukfarmer on Tuesday March 15, 2022 @03:46AM (#30682659)
In Firefox 98.0, it actually works but is well-hidden. You not only have to turn on dom.webmidi.enabled in about:config as you've already done, but also need to manually add 'Access MIDI devices' and 'Access MIDI devices with SysEx support' permissions for the page in Tools -> Page Info before reloading, as otherwise it silently fails instead of prompting for confirmation. Hot-plugging interfaces after the browser is launched also doesn't seem to work yet.
Re:New WebKit features in Safari 15.4 by lioeters on Tuesday March 15, 2022 @01:51PM (#30688526)
Oh joy! It works - thanks for the tip about manually adding permissions to the page. I'll have fun with this.