3.2.x 3.2.x SnippetsMchat sound

Snippets
Previous topicNext topic
User avatar

Topic Author
Anders
Users
Users
Magic user status: Offline
Posts: 80
Joined: Sep 15th, '15, 06:15
    Linux Firefox

Mchat sound

Post by Anders »

Linux users
I know firefox is a bitch with sound but i have test it and seems to work :lol:
find this in ext/dmzx/mchat/styles/prosilver/template/mchat_body.html

Code: Select all

		<div id="mchat-body"<!-- IF MCHAT_IS_COLLAPSIBLE --> class="collapsible"<!-- ENDIF -->>
			<!-- IF not MCHAT_SOUND_DISABLED -->
				<audio id="mchat-sound-add" class="hidden" src="{EXT_URL}sounds/add.ogg" preload="auto"></audio>
				<audio id="mchat-sound-edit" class="hidden" src="{EXT_URL}sounds/edit.ogg" preload="auto"></audio>
				<audio id="mchat-sound-del" class="hidden" src="{EXT_URL}sounds/del.ogg" preload="auto"></audio>
				<audio id="mchat-sound-error" class="hidden" src="{EXT_URL}sounds/error.ogg" preload="auto"></audio>
			<!-- ENDIF -->
Your file says mp.3 just replace this and you have sound in chrome and firefox :cool:
Extrac my zip and upload it to /ext/dmzx/mchat/sounds
sound.zip
Hope you all understand my fecking english
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
User avatar

max-ima
Users
Users
Magic user status: Offline
Posts: 139
Joined: Mar 25th, '22, 06:11
    Windows 10 Firefox

Re: Mchat sound

Post by max-ima »

Thanks
Previous topicNext topic