Switch branches/tags
Nothing to show
Find file
69c29ae Feb 1, 2016
@kolber @Zetaphor @benschwarz
62 lines (56 sloc) 2.53 KB
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<script src="./audiojs/audio.min.js"></script>
<link rel="stylesheet" href="./includes/index.css" media="screen">
<script> {
<audio src="" preload="auto"></audio>
<p>Put <code>audio.js</code>, <code>player-graphics.gif</code> & <code>audiojs.swf</code> in the same folder.</p>
<p>Include audio.js:</p>
<pre><code>&lt;script src="/audiojs/audio.js"&gt;&lt;/script&gt;</code></pre>
<p>Initialise audio.js:</p>
<pre><code>&lt;script&gt; {
var as = audiojs.createAll();
<p>Then you can use <code>&lt;audio&gt;</code> wherever you like in your HTML:</p>
<pre><code>&lt;audio src="/mp3/juicy.mp3" preload="auto" /&gt;</code></pre>
<p>A series of API tests & examples for using and extending audio.js</p>
<p><em>Example 1</em> <a href="">Test multiple load types</a></p>
<p><em>Example 2</em> <a href="">Custom markup/css</a></p>
<p><em>Example 3</em> <a href="">Multiple players, testing <code>preload</code>, <code>loop</code> & <code>autoplay</code> attributes</a></p>
<p><em>Example 4</em> <a href="">Customised player</a></p>
<p><em>Example 5</em> <a href="">Customised playlist player</a></p>
<p><em>Example 5</em> <a href="">Volume Control</a></p>
<h3>Source code</h3>
<p>All efforts have been made to keep the source as clean and readable as possible. Until we release more detailed documentation, the annotated source is the best reference for usage.</p>
<p><a href="">Annotated source</a> / <a href="">Source on Github</a></p>
<p class="ab-c"><em>&real;</em> Another <a href=''>ab+c</a> joint</p>