Playlist Parser
Date: March 16, 2017JavaScript 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('','');
Links: Playlist ParserWavesurfer.js Playlist Plugin
See the Pen Playlist Parser by Enton Biba (@entonbiba) on CodePen.