<!DOCTYPE html>
<html>
  <head>
    <title>Sound - 01</title>
    <script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
    <script src="../js/livecode.js"></script>
  </head>
  <body>
    <a-scene background="color:lightblue">
      <a-assets>
        <audio
          id="musicbox"          
          src="https://cdn.glitch.com/80978ab7-9db6-45ae-bc43-4fab16bdbb6e%2Fbaby-music-box_daniel-simion.mp3?1524832969017"
        ></audio>
      </a-assets>

      <a-box position="-1 1.6 -3" color="#ff0000">
        <a-sound autoplay="true" loop="true" src="#musicbox"></a-sound>
      </a-box>

      <a-camera>
        <a-cursor></a-cursor>
      </a-camera>
    </a-scene>
  </body>
</html>