Forum OpenACS Q&A: Response to HELP I need sound allert on chat

Collapse
Posted by Jonathan Ellis on
<i>something like 'embed src=chimes.wav border=0 width=0 height=0 autostart=true loop=false' does not work. If you put that on a page a sound will play when a user enters it... but only on this user's computer</i>

it will work fine.  put that in enter-room.tcl where it adds the line "so-and-so has entered the room," and all users will get the chime next time their browser refreshes the chat page.