moodist icon indicating copy to clipboard operation
moodist copied to clipboard

AirPlay and iOS Playback support

Open ksbijvank opened this issue 1 year ago • 5 comments

Is that possible to implement playback on iOS devices and also to play to airplay devices.

ksbijvank avatar Jan 01 '24 19:01 ksbijvank

  • chromecast support

crimsdings avatar Jan 03 '24 08:01 crimsdings

Could you please share your iOS version? And is it just Safari, or do you have this problem on other browsers as well? I've checked it on three devices with iOS 16 and 17, and it works properly. Moodist uses Web Audio API (using Howler.js) for playing sounds, and its support was added in Safari on iOS 14.5, so that might be the problem. There is also a known issue with Howler.js where it doesn't play sounds when Silent Mode is on (goldfire/howler.js#1436).

remvze avatar Jan 03 '24 11:01 remvze

Could you please share your iOS version? And is it just Safari, or do you have this problem on other browsers as well? I've checked it on three devices with iOS 16 and 17, and it works properly. Moodist uses Web Audio API (using Howler.js) for playing sounds, and its support was added in Safari on iOS 14.5, so that might be the problem. There is also a known issue with Howler.js where it doesn't play sounds when Silent Mode is on (goldfire/howler.js#1436).

I'm not the person who opened this issue, but I did respond on Reddit with the same problem. 😄 I'm on iOS 17.2.1 (most recent) and it happens in both Safari and Chrome for me. But... I can confirm turning off silent mode (my phone is always on silent mode) does indeed solve the issue! Thanks for the reply!

optroodt avatar Jan 03 '24 12:01 optroodt

Could you please share your iOS version? And is it just Safari, or do you have this problem on other browsers as well? I've checked it on three devices with iOS 16 and 17, and it works properly. Moodist uses Web Audio API (using Howler.js) for playing sounds, and its support was added in Safari on iOS 14.5, so that might be the problem. There is also a known issue with Howler.js where it doesn't play sounds when Silent Mode is on (goldfire/howler.js#1436).

I'm not the person who opened this issue, but I did respond on Reddit with the same problem. 😄 I'm on iOS 17.2.1 (most recent) and it happens in both Safari and Chrome for me. But... I can confirm turning off silent mode (my phone is always on silent mode) does indeed solve the issue! Thanks for the reply!

Is have the same indeed. Allright, tested and working with the ringer on. How about AirPlay?

ksbijvank avatar Jan 03 '24 19:01 ksbijvank

+1 for no sound with the ringer off

brentonmallen1 avatar May 10 '24 05:05 brentonmallen1