Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (57 sloc) 2.64 KB
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<link type="text/css" href="./audiojs/audio.css" rel="stylesheet" />
<script type="text/javascript" src="./audiojs/audio.js"></script>
<link rel="stylesheet" href="./includes/index.css" media="screen">
<script> {
<audio src="" preload="auto"></audio>
<p>Put <code>audio.js</code>, <code>audio.css</code>, <code>player-graphics.gif</code> & <code>audiojs.swf</code> in the same folder.</p>
<p>Include audio.js and audio.css:</p>
<pre><code>&lt;link type="text/css" href="/audiojs/audio.css" rel="stylesheet" /&gt;
&lt;script type="text/javascript" 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>
<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>