GibboK
GibboK

Reputation: 73998

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 better :)

Upvotes: 0

Views: 811

Answers (1)

Vap0r
Vap0r

Reputation: 2616

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?

Upvotes: 1

Related Questions