Answer the question
In order to leave comments, you need to log in
JS: how to get mp3 tags?
How to use JS to get the title and artist of the song and record it all in ?
I would like it to be written in the form "Artist - Title"
The path to the file is a direct link.
Answer the question
In order to leave comments, you need to log in
You can get it from ID3 tags:
https://github.com/aadsm/JavaScript-ID3-Reader
but for the recording account, I'm not sure if this is possible using JS
And to write tags, you can write a server script and call it from javascript (for example, for php, the id3_set_tag function www.php.net/manual/ru/function.id3-set-tag.php )
You can write id3 tags to js using this library: https://github.com/egoroof/browser-id3-writer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question