documentation updates
This commit is contained in:
parent
aaffe70ee7
commit
ad86df44a7
@ -32,7 +32,7 @@ Sample inclusions in an HTML document:
|
|||||||
</head>
|
</head>
|
||||||
```
|
```
|
||||||
|
|
||||||
Sample instanciation:
|
Sample instanciation reading playlist entries from a file `./mp3.m3u`:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<div class="player"></div>
|
<div class="player"></div>
|
||||||
@ -41,7 +41,7 @@ Sample instanciation:
|
|||||||
element: '.player',
|
element: '.player',
|
||||||
mode: 'm3u',
|
mode: 'm3u',
|
||||||
detachable: false,
|
detachable: false,
|
||||||
m3u: 'mp3.m3u',
|
m3u: './mp3.m3u',
|
||||||
loop: true,
|
loop: true,
|
||||||
shuffle: false
|
shuffle: false
|
||||||
})});
|
})});
|
||||||
@ -49,8 +49,6 @@ Sample instanciation:
|
|||||||
</div>
|
</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
See also [the demo page](demos/index.html) for several examples.
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
* See subdirectory [src](./src) for javascript sources, specifically [player.js](src/player.js).
|
* See subdirectory [src](./src) for javascript sources, specifically [player.js](src/player.js).
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<base href="." />
|
<base href="." />
|
||||||
|
Loading…
Reference in New Issue
Block a user