
<?php include '../concha.php';?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Test 1 - audio.js</title>
    <style>
      p { clear: both; }
    </style>
    <script src="audio.js"></script>
    <script>
      audiojs.events.ready(function() {
        var as = audiojs.createAll();
      });
    </script>
  </head>
  <body>
    <h1>audiojs.createAll()</h1>
    <p>Load from remote URL</p>
    <audio preload="auto">
      <source src="<?php echo $ip_stream ?>/;stream.mp3" type="audio/mpeg">
    </audio>

    <p>Load local file</p>
    <audio preload="auto">
      <source src="<?php echo $ip_stream ?>/;stream.mp3">
    </audio>

    <p>Load failure (from source)</p>
    <audio preload="auto">
      <source src="http://www.radiosnet.com.ar/upload/a99fe4b7a85b98b31f3b78b6f80d2fc4.mp3">
    </audio>
  </body>
</html>