Render linked audio files in clld apps.
Project description
clld-audio-plugin
A plugin for the clld
package.
Usage
clld-audio-plugin
provides
- A model class
clld_audio_plugin.models.Counterpart
augmented with anaudio
column to store the URL to an audio file. - A column for a
DataTable
clld_audio_plugin.datatables.AudioCol
to display objects with anaudio
attribute as audio player. - A map class
clld_audio_plugin.maps.ParamMap
specifying a parameter map integrating clld audioplayer functionality. - Static resources for the configuration/layout of the UI elements contributed by the plugin.
To use map and static resources, include the plugin in your app's main
function:
config.include('clld_audio_plugin')
To use model and column, just import in your app's datatables.py
or models.py
as needed.
Project details
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
Close
Hashes for clld_audio_plugin-1.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a539d1f3103e02aeaf5c8c805ddbcf06be31b11996dadd6a352399e8642991a |
|
MD5 | 9250e26ef33009afe7d4986bc89a425d |
|
BLAKE2b-256 | 3228d2079163d0fb81561c9330f71ac462c0a062f08e0cef8534dcaa5378ec63 |