Skip to content

Instantly share code, notes, and snippets.

View 10537's full-sized avatar

José Moreno 10537

View GitHub Profile
@10537
10537 / pls2audio.html
Created December 10, 2015 22:09 — forked from Offbeatmammal/pls2audio.html
HTML5, JavaScript to load a .pls file to <audio> tag. Uses error and ended events to move to the next item
<! DOCTYPE html>
<html>
<head>
<title>PLS Processor</title>
<!-- needed for IE9 to ensure it treats page as HTML5 properly -->
<meta http-equiv="X-UA-Compatible" content="IE=9" >
</head>
<body>
<p>Audio PLS processor<p>
<audio id="audio" controls="controls"></audio >