Three.js: mmd loader not play audio in Safari (Mac) and all Browsers (Ios >13)

Created on 29 Apr 2020  路  5Comments  路  Source: mrdoob/three.js

ex:
https://threejs.org/examples/?q=mmd#webgl_loader_mmd_audio

Three.js version
  • [ ] Dev
  • [x] r115
  • [ ] ...
Browser
  • [x] All of them
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Internet Explorer
OS
  • [] All of them
  • [ ] Windows
  • [x] macOS
  • [ ] Linux
  • [ ] Android
  • [x] iOS
Hardware Requirements (graphics card, VR Device, ...)
Browser Issue Examples

Most helpful comment

@tag3r Can you please test #19265? It solves the issue on Safari, macOS.

yep, it's works fine, thanks

All 5 comments

To sum up the findings of #19259: It seems the problem on Apple devices is caused by the following Webkit issue:

https://stackoverflow.com/questions/58306894/has-ios13-broken-audio-tags-used-as-audio-buffers-connected-to-the-audio-conte

One more question .
why https://threejs.org/examples/webaudio_timing works fine and https://threejs.org/examples/?q=mmd#webgl_loader_mmd_audio don't ?
Both of them use audioloader. I really don't understand. Maybe it some kind of magic ?=))

Good point. The Webkit issue explains why webaudio_timing works but not other Web Audio demos using audio tags. webgl_loader_mmd_audio can't be affected by this bug. Investigating....

@tag3r Can you please test #19265? It solves the issue on Safari, macOS.

@tag3r Can you please test #19265? It solves the issue on Safari, macOS.

yep, it's works fine, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fuzihaofzh picture fuzihaofzh  路  3Comments

alexprut picture alexprut  路  3Comments

makc picture makc  路  3Comments

Horray picture Horray  路  3Comments

boyravikumar picture boyravikumar  路  3Comments