Skip to content

Instantly share code, notes, and snippets.

@web-differently
web-differently / pls2audio.html
Created November 12, 2012 10:51 — 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 >