Src attribute of html5 audio player

When I open my page it says error loading file. How do I use my html5 audio player to play this soundcloud file?

How else do I define the src attribute?

This is my code:

<html>
<head>
 <script src="http://connect.soundcloud.com/sdk.js"></script>
 <script src="audiojs/audio.min.js"></script>
 <script>
 audiojs.events.ready(function() {
    audiojs.createAll();
  });
</script>
<body style="background-color: rgb(152, 152, 152);
 margin-left: 39% !important;
 margin-top: 22% !important;">
 <audio src="https://soundcloud.com/hardwell/coldplay-sky-full-of-stars-hardwell-remix-download" preload="auto">
</audio>
</body>
</head>
</html>


Source: html5

Leave a Reply