Each individual app is sandboxed and many apis have permissions checks. You’d need to replicate that for websites to grant access safely. Then there’s the issue that these apis only exist on Apple platforms, even if I get a bridge to eg AVFoundation, it wouldn’t work on windows or Linux.