documentation updates

This commit is contained in:
Tilman Kranz 2024-11-13 07:42:01 +01:00 committed by Tilman Kranz
parent aaffe70ee7
commit ad86df44a7
2 changed files with 3 additions and 4 deletions

View File

@ -32,7 +32,7 @@ Sample inclusions in an HTML document:
</head>
```
Sample instanciation:
Sample instanciation reading playlist entries from a file `./mp3.m3u`:
```html
<div class="player"></div>
@ -41,7 +41,7 @@ Sample instanciation:
element: '.player',
mode: 'm3u',
detachable: false,
m3u: 'mp3.m3u',
m3u: './mp3.m3u',
loop: true,
shuffle: false
})});
@ -49,8 +49,6 @@ Sample instanciation:
</div>
```
See also [the demo page](demos/index.html) for several examples.
## Contributing
* See subdirectory [src](./src) for javascript sources, specifically [player.js](src/player.js).

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<base href="." />