JSFiddle - React, Tailwind, and code Playground

by jogjayr

HTML

<audio autoplay controls>
    <source src='https://github.com/jogjayr/FF-Audio-Test-Case/raw/master/test.mp3' />
</audio>
<a href='https://github.com/jogjayr/FF-Audio-Test-Case/raw/master/test.mp3' >Download File</a>

JavaScript

var audioTag = $("audio");
var srcTag = $("source");

audioTag.on("error", function(event) {
console.log("src error");    
});

srcTag.on("error",function(event) {
console.log("src error");                
});