Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 876 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 876 Bytes

playlist-parser

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

Plugins