Author Topic: Play wav sound after clicking the Send button  (Read 5779 times)

0 Members and 1 Guest are viewing this topic.

frankiekam

  • Jr. Member
  • **
  • Posts: 2
Play wav sound after clicking the Send button
« on: August 11, 2013, 08:31:59 AM »
By default, a ding wav sound is heard everytime I receive a message. However, I would like the system to play a wav file each and everytime I send a message. Like right after I click the send button and the message appears on my operator's window (or on the visitor's window). How do I do this?
Frankie Kam

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: Play wav sound after clicking the Send button
« Reply #1 on: August 12, 2013, 10:03:10 AM »
Hello,

Unfortunately there is no any configuration option to do what you want.

If you know JavaScript well you can modify your 'js/sorce/chat.js' file and add call for playSound function to postMessage method
of Ajax.ChatThreadUpdater class.

More information about changing Mibew JavaScript files you can find at http://mibew.org/forums/index.php/topic,329.0.html

Dmitriy