https://github.com/entonbiba/playlist-parser
JavaScript playlist parser for m3u, pls, smil and json files
https://github.com/entonbiba/playlist-parser
javascript json m3u mp3 parser playlist pls plugin smil wav
Last synced: 3 months ago
JSON representation
JavaScript playlist parser for m3u, pls, smil and json files
- Host: GitHub
- URL: https://github.com/entonbiba/playlist-parser
- Owner: entonbiba
- Created: 2017-02-28T20:32:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-17T01:56:44.000Z (over 8 years ago)
- Last Synced: 2025-04-11T05:51:39.439Z (6 months ago)
- Topics: javascript, json, m3u, mp3, parser, playlist, pls, plugin, smil, wav
- Language: JavaScript
- Size: 35.2 KB
- Stars: 10
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# playlist-parser
JavaScript playlist parser for m3u, pls, smil and json files
## How to use
**Include the playlistparser.js javascript file**
```
HTMLPUG
script(src="playlistparser.js")Haml
%script{src: "playlistparser.js"}
```**Call the playlist parser object**
- FILE = link to one of the supported file types
- TYPE = mime type or file extension of the supported file types
```
window.PlaylistParser(FILE,TYPE);
```**Example**
```
window.PlaylistParser('','');
```## Plugins
- wavesurfer.playlistparser.js - playlist plugin for the WaveSurfer.js library view sample