Sounds like you can with the right libraries! Reading ID3 tags with Javascript and here is a demo
Using the ID3.js library, your Javascript will look like:
// URL of the mp3 file (must be on the same domain!) var file = "mymusicfile.mp3"; // define your own callback function function mycallback() { // either call the ID3.getAllTags([file]) function which returns an object holding all the tags alert( "All tags in this file: " + ID3.getAllTags(file).toSource() ); // or call ID3.getTag([file], [tag]) to get a specific tag alert( "Title: " + ID3.getTag(file, "title") + " by artist: " + ID3.getTag(file, "artist") ); } ID3.loadTags(file, mycallback);
Based on the post in the first link I provided, it doesnβt work in Opera browsers and is limited to ID3v1, which according to the poster:
"he is only able to read the (rather missing) ID3v1 tags, as they are very simple compared to the richer and more reliable ID3v2 tags"
source share