Audio playlist player for Plone
Project description
Table of Contents
Summary
The Plone add-on collective.playlist provides a playlist and a track content type. The player is per default a sticky footer. Optional as an alternative is a player in a pop up window that can be launched via a play button.
Pop Up Player
A click on the play button opens a window with playlist and player.
Playlist
Playlist on Mobile Device
Documentation
The Add-On uses JPlayer [1].
Initial playlist
An initial playlist with tracks is created at /playlist.
Multiple playlists
Create additional playlists. The player takes the one with the newest publishing date.
Where are the audio files?
- You can add tracks with audio files to a playlist.
- You can reference audio files with links.
- You can reference external audio files with links via remote url.
Sticky Footer
The site is navigable while the player continues to play thanks to pjax [2]. Pjax works with browsers that support the history.pushState() API. When the API isn’t supported, Pjax goes into fallback mode (and it just does nothing). See Browser Support [3].
The sticky footer is shown if and only if a published playlist exists. For a qualified user the player is shown even for an unpublished playlist.
Pop Up Player
The pop up player is per default deactivated. You can activate it via @@manage-viewlets view like localhost:8080/Plone/@@manage-viewlets
A play button is shown on top of each page if and only if a published playlist exists. For a qualified user it is shown even for an unpublished playlist. Click the play button to open the player. A menu to edit the playlist and its tracks is presented to qualified users.
Customizations
Layout
Layout can be modified in control panel.
Change Font
Use your font
Background Image for your Pop Up Playlist
Upload an image “background.jpg” to your Plone-Site.
Go to playlist control panel and add:
html { background-image:url("background.jpg"); }
Installation
Install collective.playlist by adding it to your buildout.
Contribute
- Issue Tracker: https://github.com/collective/collective.playlist/issues
- Source Code: https://github.com/collective/collective.playlist
License
The project is licensed under the GPLv2.
Music: © 2003 Miaow / Arnaud Laflaquiere - MiaowMusic.net
For JPLayer license see JPlayer [1]
Footnotes
[1] | (1, 2) JPlayer : Open Source media library written in JavaScript. |
[2] | pjax : Enable fast Ajax navigation on any website (using pushState + xhr) |
[3] | Browser Support Caniuse |
Changelog
1.0a3 (2018-05-24)
- Pypi: show images of README.rst
1.0a2 (2018-05-23)
- Initial release. [ksuess]
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
Hashes for collective.playlist-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc9df0a0afccc2464c11bd19dff5e0725f892c8ad218a3cb3165abadafc4d3e7 |
|
MD5 | a4ab4427862ef5ab1e03cac095703267 |
|
BLAKE2-256 | 15b334297fee852e4790e81a40d80809eff972acfd27736cae62930c6a39ba02 |
Hashes for collective.playlist-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a1f2d56f900f24c23404c3565eaf1321ced32892473d42acfff1943df699013 |
|
MD5 | 608b156e3f9c925b442c5a57f8c22abe |
|
BLAKE2-256 | 07522547ae21ba955244bcc790c04f062a6c3c1b3f0e6be1dbee9f7e4311cd26 |