[1.0.3] mChat Broadcast

Adds a button to mChat that plays a sound for all mChat users
User avatar
Jupiter
Posts: 12
Joined: 20 Sep 2018, 03:43

Re: [1.0.1] mChat Broadcast

Post by Jupiter »

terry2 wrote: 13 Oct 2018, 00:03 i got sound on desktop and mobile and no effects on any other mchat addon i use (so far)
I wonder why I am getting no sounds at all on mobile. Not even the regular chat sounds. I am using iOS12. Tried is on Safari & Chrome on iOS
terry2
Posts: 242
Joined: 22 Oct 2016, 18:22
Location: My castle

Re: [1.0.1] mChat Broadcast

Post by terry2 »

Im using this css for desktop and mobiles

Code: Select all

- This code is only accessible to donors -
Screenshot_20181013-023143_Chrome.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: [1.0.1] mChat Broadcast

Post by kasimi »

Jupiter wrote: 13 Oct 2018, 00:13 I wonder why I am getting no sounds at all on mobile. Not even the regular chat sounds. I am using iOS12. Tried is on Safari & Chrome on iOS
I have the same problem, no sounds on Android with Firefox, not even regular mChat add/edit/delete sounds, so this is not limited to this extension.
Jupiter wrote: 12 Oct 2018, 23:36 And that sound played over and over for them. It does not stop playing until I play a new sound.
What browser is this happening with? I can't reproduce it in Firefox Desktop, all sounds play fine and only when they are supposed to.
terry2
Posts: 242
Joined: 22 Oct 2016, 18:22
Location: My castle

Re: [1.0.1] mChat Broadcast

Post by terry2 »

samsung s8 using firefox and chrome i have sound.

edit samsung galaxy tab 6a also has sound mchat editl delete stopped working on mobiles a while back.
User avatar
Jupiter
Posts: 12
Joined: 20 Sep 2018, 03:43

Re: [1.0.1] mChat Broadcast

Post by Jupiter »

kasimi wrote: 13 Oct 2018, 10:38
Jupiter wrote: 12 Oct 2018, 23:36 And that sound played over and over for them. It does not stop playing until I play a new sound.
What browser is this happening with? I can't reproduce it in Firefox Desktop, all sounds play fine and only when they are supposed to.
Let me ask the other chat user and get back to you on that. I was using Chrome on Desktop
User avatar
Jupiter
Posts: 12
Joined: 20 Sep 2018, 03:43

Re: [1.0.1] mChat Broadcast

Post by Jupiter »

I am finding that sounds play fine for me...

But other chatters it is all over the place. Some hear the most recent sound over and over even if the sound was played long before the entered chat. Other users are not hearing the sounds unless they are played. Another issue is that they are all using different browsers. Some that using the same as me are hearing looping sounds. So who knows what the deal is.

I had to turn off the Broadcast ext.
terry2
Posts: 242
Joined: 22 Oct 2016, 18:22
Location: My castle

Re: [1.0.1] mChat Broadcast

Post by terry2 »

Been testing all day my members are a mix some linux some windows and yet again they use the most common browsers and all are hearing my sounds and even songs.
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: [1.0.1] mChat Broadcast

Post by kasimi »

I found what's causing the endless replays: enabling the "Live updates of edited & deleted messages" feature should fix it. You will hear the broadcast only once when it's enabled. I will post an update when I find time to test it thoroughly.

By the way, what's strange is that after rebooting my phone, all mChat sounds started working again. The default add/edit/delete sounds as well as sounds from this add-on extension. :?
User avatar
jan_2017
Distinguished Donor
Posts: 166
Joined: 13 May 2017, 18:07

Re: [1.0.1] mChat Broadcast

Post by jan_2017 »

Nice Feature. Keep going ! :beer:
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: [1.0.1] mChat Broadcast

Post by kasimi »

Version 1.0.2 should fix the replay issue. See first post for the latest download.

In addition to the bug that occurred if "Live updates of edited & deleted messages" was enabled, I improved the handling of the audio element that plays the mp3: it clears itself after the sound was played the first time, so there's no way for it to repeat itself due to unexpected browser behavior. I also updated the CSS to fix the button layout on mobile.

If you still have issues with 1.0.2, send me a PM with a link to your board and an account so that I can see live what's happening. :+1:

lopoto wrote: 12 Oct 2018, 21:58 in mchat rooms all the posts have disappeared, when I turned off the broadcast, everything returned to normal. So improvements are needed
Clear your browser cache and check your browser console for any JavaScript errors.

Who is online

Users browsing this forum: CCBot [Bot] and 0 guests