Play a System Sound using HTML
I would like to know if is possible to play a SYSTEM sound using HTML 5 (even with js).
I recently found out this article that show how to do it, but for my understanding is only with attached external sound (like mp3 or other). I would need instead use some OS SYSTEM sound.
Thanks guys for helping to understand css b开发者_StackOverflow社区etter :)
I don't believe this to be possible without something like maybe an ActiveX control, and even then, support would be extremely spotty. If this were possible, it could cause a huge security vulnerability. Why don't you just get a .mp3 of the OS SYSTEM sound that you want to play and use the same trick that you linked to?
精彩评论