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> </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).

View File

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