I can't play audio message on Safari (Desktop + Mobile)
Describe the bug
It's not possible to listen to audio messages in Safari on any Mac OS or IOS device.
To Reproduce
- Open Chatwoot on Safari
- Try to play a audio message
Expected behavior
No response
Environment
app.chatwoot.com
Cloud Provider
None
Platform
None
Operating system
Mac OS, IOS
Browser and version
Safari (latest versuo
Docker (if applicable)
No response
Additional context
No response
Oh, I think I found the problem. Safari doesn't seem to support .ogg files. I'm looking for a workaround.
Maybe something like this (https://github.com/bvibber/ogv.js) might be a solution.
Thanks for reporting this. This is a known issue. We have tried different solutions so far, the players default switch to the browser support medias only. Let us look into ogv.js.
@pranavrajs @unfixa1 Thanks for your quick responses. I'm pretty sure that it's related to the lack of OGG support in Safari (https://caniuse.com/ogg-vorbis).
I'm trying to deploy a hotfix using https://github.com/ffmpegwasm/ffmpeg.wasm right now. The idea is to just convert the .ogg files to .mp3 files on the fly in the frontend. It's a bit similar to the OGG encoder used in Chatwoot (https://github.com/chris-rudmin/opus-recorder).
I'm struggling with the webpack config at the moment xD
@pranavrajs And if we only work with mp3, what do you think?
@giquieu WhatsApp sends .ogg files as far as I know so the files would need to be converted at some point to make it work in Safari
Same error here. Waiting for solutions
Same here
Same :(
I don't think the problem is just Safari, but iOS as a whole. I tested it with the Google Chrome app and the behavior is the same. It only works when the audio is sent via Chatwoot.
Anything sent directly via WhatsApp or received doesn't work.
I don't think the problem is just Safari, but iOS as a whole. I tested it with the Google Chrome app and the behavior is the same. It only works when the audio is sent via Chatwoot.
Anything sent directly via WhatsApp or received doesn't work.
Works on Chrome and Brave on MacOS. Fails on Safari only.
@pranavrajs @unfixa1 Thanks for your quick responses. I'm pretty sure that it's related to the lack of OGG support in Safari (https://caniuse.com/ogg-vorbis).
I'm trying to deploy a hotfix using https://github.com/ffmpegwasm/ffmpeg.wasm right now. The idea is to just convert the .ogg files to .mp3 files on the fly in the frontend. It's a bit similar to the OGG encoder used in Chatwoot (https://github.com/chris-rudmin/opus-recorder).
I'm struggling with the webpack config at the moment xD
any luck with that workaround?
Same problem with dockerized version, whatsapp audio and chrome