Description:
When using the sound component's on property to play a sound on event, the following error is thrown:
TypeError: processSound is not a function[Learn More] sound.js:216
playSound sound.js:216
bound bind.js:12
[100]</module.exports<.prototype<.emit.value</< a-node.js:257
twoWayEmit cursor.js:374
onCursorUp cursor.js:250
bound bind.js:12
I've tracked the error to the the following line: https://github.com/aframevr/aframe/blob/master/src/components/sound.js#L216
If that line is commented out, the on property works as expected when the event is emitted.
- A-Frame Version: A-Frame
master, Commit #6fde084
- Platform / Device: Windows 10 / Firefox, Chrome, possibly others.
- Reproducible Code Snippet or URL:
Code: https://glitch.com/edit/#!/neon-kingfisher
Demo: https://neon-kingfisher.glitch.me