Developers

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

to enable all needed media files (which in this case are more or less
everything).

Usage

Enable the track_td_album module in your backend app and enable the
tdSampleAudio module in your frontend (or make a copy of it to modify,
if the plugin was installed using SVN).

Fixtures are provided with the plugin - more than 10 small mp3 files (thanks
to simplythebest.net site). Run following
commands:

$ ./symfony doctrine:build --all

and

$ ./symfony doctrine:data-load

Now you have to create a directory for audio uploads:

$ mkdir web/uploads/td/audio

and make it writeable:

$ chmod 777 web/uploads/td/audio

Now you have to copy the mp3 sample files from tdAudioPlugin/data/samples
to the audio upload directory created above. Everything is ready to run the
following URL in your browser:

http://your-project/audio

to see a demo of the mp3 flash player. It should look something like this:

(those screenshots have been made from an example website).

Configuration

You can modify settings of the tdAudioPlugin in the
config/tdAudioPluginConfiguration.class.php file:

td_audio_upload_dir - upload dir of all audio files

td_audio_short_text_sign_count - character count of a short track album
descrtiption version

Translations

You may translate tdAudio module to your own language by creating
td.XX.xml file under modules/tdSampleAudio/i18n
directory (where XX is the language code). So far, English language is the
default one and additionally Polish translationis provided.