Playlist Parser

Date: March 16, 2017 JavaScriptPlaylist ParserWaveSurfer.jsSample
javascript playlist parser for m3u pls smil and json files

JavaScript playlist parser for m3u, pls, smil and json files.
 

How to use

Include the playlistparser.js javascript file

HTML
<script src="playlistparser.js"></script>

PUG
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('','');

See the Pen Playlist Parser by Enton Biba (@entonbiba) on CodePen.

Download