Categories
Plugins

nanodio

Nanodio
Description
Nanodio is the smallest audio player ever coded! (less than 2KB)
It’s simple, accessible and can be used with strict xHtml pages.
How to use it
In a web page, just include jquery.js then the jquery.nanodio.js file.
Nanodio is intended to be applied on links. So you can just need to mark some links as audio files, then activate nanodio for those files.
Here is an example:


musique







A file to play

A file to play

So here is the deal:

If the browser is able to read the file by itself, just one click on the link will play the file. An other click will stop it.
If the browser can’t read it by itself but has a plugin to do that… it will probably launch it.
If the browser can’t read the file, it will download it. So you can read it in your favorite sound player

So it’s working with any browser (even lynx! Here is the proof: http://www.youtube.com/watch?v=A-Y9aPnojTM)

GitHub Repo