You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`url` - The URL of the mp3 file to read, this must reside on the same domain (document.domain).
53
-
`cb` - The callback function to invoke when the tags are loaded.
53
+
`ID3.loadTags(url, cb, [options])`
54
+
`url` - The URL of the mp3 file to read, this must reside on the same domain (document.domain).
55
+
`cb` - The callback function to invoke when the tags are loaded.
54
56
`options` - Optional parameters.
55
57
`options.tags` - The array of tags and/or shortcuts to read from the ID3 block. Default value is: `["title", "artist", "album", "track"]`
56
58
`options.dataReader` - The function used to create the data reader out of a url. It receives (`url`, `success`: callback function that returns the data reader, `fail`: callback function to inform an error setting up the reader). By default it will be BufferedBinaryAjax.
57
-
58
-
`ID3.getAllTags(url)`
59
-
`url` - The URL of the mp3 file to read, this must be the same value given to `ID3.loadTags()`.
59
+
60
+
`ID3.getAllTags(url)`
61
+
`url` - The URL of the mp3 file to read, this must be the same value given to `ID3.loadTags()`.
60
62
`return value` - This function will return the following object structure, for IDv1:
0 commit comments