Open Russo-creation opened 3 years ago
@drcmda you did some fixes on this component if I remember correctly? Would you mind looking at this 🙏🏼
Any news? I'm not able to get this working either.
what about using more than one <Sound url = "" />
When i do i get errors and only one sound will play ? Any thoughts
I'm facing the issue! Is there any other workaround for this apart from the "Sound" function?
three
version: ^0.128.0@react-three/fiber
version: ^6.2.2@react-three/drei
version: ^6.0.1node
version: v12.18.4yarn
version: 1.22.5Problem description:
I noticed that PositionalAudio component not playing sound even on storybook https://drei.pmnd.rs/?path=/story/abstractions-positionalaudio--positional-audio-scene-st.
I followed https://codesandbox.io/s/r3f-drei-positionalaudio-forked-khx5p?file=/src/index.js:442-527 and sometimes sound on sample codesandbox works (when focused on codesandbox iframe from beginning).
I don't think it is related with autoplay policy https://sundaykuloksun.medium.com/video-play-not-working-html5-autoplay-policy-beed81d64ca5 but more like a bug.
Relevant code:
Suggested solution:
Using suggested code from https://codesandbox.io/embed/r3f-positional-audio-246wl works fine.