JavaScript playlist parser for m3u, pls, smil and json files
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('','');
- wavesurfer.playlistparser.js - playlist plugin for the WaveSurfer.js library view sample