locus sonus > Help Media mp3Last changed: 2009/02/15 03:06
|
||
---|---|---|
Menu : Help
{tags:Help, Syntax, Lionwiki}
Page Index : MP3 embed with QTTo embed a mp3 soundfile
MP3 embed with FlashTo embed a mp3 soundfile with dewplayerThe mp3 soundfiles are automatically read with the help of a light flash player : dewplayer (only 4k). You need to first install the flash player. Download it here : http://www.alsacreations.fr/dewplayer . Put this file in the same directory than index.php. Replace the exact url of the dewplayer location into the mp3 player string into the index.php. Thus you can upload your mp3 files thanks to the Upload plugin. They will be available on the Data folder. Syntax : ^=data/mp3/yourfile.mp3^ (put = before the url) Example : With external http soundfile links, you can use the same wiki code if you're not using openwindow scripts for http links in the index.php files. The alternative way is to use ^html^ embed like this :
here is an example with a soundfile :
Another version of the player permits to play sound playlists : dewplayer-multi.swf
In this version, you must put the soundfile list like this (separated by a pipe) : /media/sounds/test.mp3|/media/sounds/test2.mp3|/media/sounds/test2.mp3 etc. Features : - mp3 tags are recognized and are played by the player during the listening - &autoplay=1 → automatic play - &autoreplay=1 → loop - &showtime=1 → show time in mn:sec - &volume=80 → selected volume - &randomplay=1 → random play (with dewplayer-multi.swf) - &nopointer=1 - &bgcolor=CCCCCC → specify the background color (without #) Here is the full code for embedding (even if the example above works too) (example with classic dewplayer)
Another flash jukebox mp3 player is available here : To embed a mp3 soundfile with swfplayer 2http://code.google.com/p/swfobject/ (english doc) http://egypte.olympe-network.com/swfobject-francais.html (french doc)
|
||
Lab 2013/2014: Elena Biserna, Stéphane Cousot, Laurent Di Biase, Grégoire Lauvin, Fabrice Métais, Marie Müller, (Julien Clauss, Alejandro Duque), Jérôme Joy, Anne Roquigny, Peter Sinclair. 2008/2014 — Powered by LionWiki 2.2.2 — Thanks to Adam Zivner © images Locus Sonus webmaster & webdesign : Jérôme Joy contact: info (at) locusonus.org 2004-2014 Locus Sonus |
Article:
Admin functions:
Other:
Search:
Language:
Info:
Powered by LionWiki 2.2.2
Tested on FireFox2, FireFox3, Safari2, Safari3