V
V
Vitek8092014-03-16 17:56:23
JavaScript
Vitek809, 2014-03-16 17:56:23

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

4 answer(s)
A
Alexander Khirenko, 2014-03-16
@Satanpit

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

C
callback, 2014-03-16
@callback

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 )

H
HaruAtari, 2014-03-16
@HaruAtari

habrahabr.ru/post/140695

A
Artyom Egorov, 2016-12-26
@egoroof

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 question

Ask a Question

731 491 924 answers to any question