Create a playlist in a folder filled with audio-files, using HTML5's audio-tag.
Project description
Introduction
A Plone add-on to turn a folder holding audio-files into a playlist.
Usage
Fill a folder with audiofiles, select ‘adi_playlist’ of the “Display”-dropdown-menu to change the view of the folder and a playlist will be shown.
Default behaviour is to play the list until its end, one track after another, optionally click the inifinity-symbol to play the list infinitely in a loop.
You can use the space-bar to play/pause the current track, the tab-key to walk through the tracks and Enter-key for starting the selected track.
Motivation
My dear sister Angela, who likes to turn the tables and wanted a non-proprietary solution to have her sets “in the cloud” with a decent player avaible right away.
Background
This product takes advantage of browser-native audio-players, using the audio-tag introduced with HTML5 and the fact that all major browsers support this by now, dropping the need to provide a serverside-player.
However there are restrictions of supporting all of the possible audio-file-formats, depending on the browser’s capabilities or choosen lack of support.
The add-on was written to use in conjunction with OGG-formats (‘.ogg’-extension), expressing the love of the author for open (=non-proprietary) standards, dropping support to Safari, the only major-browser not supporting Vorbis.
This leaves out support for Safari, yet it should be fairly easy enough extending this add-on to hold each track in two formats, the other satisfying Safari and distinct which format to use, by checking which browser the client uses.
Used technique
ECMAscript
Credits
jQuery, which made writing this a breeze.
Furthermore
Have a look at collective.transcode.star, if you want your arbitrary audio-formats transformed to OGG-format (or another) during upload, using beloved ffmpeg.
Changelog
0.3 (2014-06-22)
Adjust MANIFEST and remove trash.
0.2 (2014-06-22)
Add MANIFEST.in and repo-url.
0.1 (2014-06-20)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file adi.playlist-0.3.tar.gz
.
File metadata
- Download URL: adi.playlist-0.3.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf8c556c6aabcb370549b7f6c2fa5d7ea31fe19bcdc5ea58440c42da38f80451 |
|
MD5 | e8e5732bdb93d920afc09cb945b24a53 |
|
BLAKE2b-256 | 581ceb0e972155f3cc388d87f174a44cb17ef3247341982b58e58dc9c0a514f7 |
File details
Details for the file adi.playlist-0.3-py2.7.egg
.
File metadata
- Download URL: adi.playlist-0.3-py2.7.egg
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd51dcfa0252e301e6d98080da19aaf1bca1014d3c301a408553c44bad41f736 |
|
MD5 | 7b9336451205adc99c711536eb407a22 |
|
BLAKE2b-256 | 76cd76b215122c1c761fb1fd831869043da340d7edf904f772aa2fd6eac0f47a |