In a-frame how can I stop all sounds when a new sound starts playing?
问题 When I play click on the a-entity it plays the sound, but how can I get it to stop all other sounds when played, so it is not a loud muddled mess of a thing? I've googled the problem and tried adding the codes they use, but they haven't been working, I've tried about 5 different ones. I am running my sound like this: <audio id="mercury-sound" src="mercury.mp3" preload="auto"></audio> <script id="mercury" type="text/html"> <a-entity class="mercury" geometry="primitive: sphere; radius: 0.67"