Additional Info
Type
Package ID
Pierre29200:mp3_flash_player_B
First Created
May 25, 2007, 05:30:44 PM
Last Updated
June 23, 2007, 07:44:55 AM

mp3 Flash Player BBC Tag v1.0

Add Flash player mp3
Compatible With 1.1.2
Latest version v1.0
Downloads 58,793
Reviews 0
Rating 0/5
Subscribers 11
License (View License)
Author(s)
This mod allows a poster the option to embed a mp3 file in a post through the use of the [mp3=200,20,0,center][/mp3] BBC (bulletin board code) tags.

Its use is easy: simply plug the complete url of the mp3 file between the [mp3=200,20,0,center]http://your_url.com/your_mp3_file.mp3[/mp3] tags.

Syntax:
[mp3=width,height,autostart,position]http://your_url.com/your_mp3_file.mp3[/mp3]
autostart : 0|1
position :  left|center|right

Typical sizes for the player
- single mp3 : width = 10 x height
for example width=200, height=20
- Multi player : width = 12 x height
for example width=240, height=20
if width is too low, navigation buttons are hidden.

Examples:
- single mp3
[mp3=200,20,1,center]http://pierrebrest.free.fr/biosynergie/audio/Coue/01-1.Introduction.mp3[/mp3]
- multi-mp3
[mp3=240,20,1,center]http://pierrebrest.free.fr/biosynergie/audio/Coue/01-1.Introduction.mp3|
http://pierrebrest.free.fr/biosynergie/audio/Coue/02-2.AutosuggestionConsciente.mp3|
http://pierrebrest.free.fr/biosynergie/audio/Coue/03-3.SuggestionEmileCoue.mp3[/mp3]

You can write on one or several lignes the url for mp3 files.


Demo: http://forum.frequencebonheur.fr/index.php?topic=282.0
<p style="color: rgb(0, 0, 0); font-family: Arial,sans-serif; font-size: 11px; font-weight: normal; text-align: center; text-decoration: none;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="dewplayer" align="middle" height="20" width="240"><param name="wmode" value="transparent"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://forum.frequencebonheur.fr//dewplayer-multi.swf?mp3=http://pierrebrest.free.fr/biosynergie/audio/Coue/01-1.Introduction.mp3|http://pierrebrest.free.fr/biosynergie/audio/Coue/02-2.AutosuggestionConsciente.mp3|http://pierrebrest.free.fr/biosynergie/audio/Coue/03-3.SuggestionEmileCoue.mp3&amp;autostart=1&amp;showtime=1&amp;bgcolor=FFFFFF"><param name="quality" value="high"><param name="bgcolor" value="FFFFFF">
<embed src="http://forum.frequencebonheur.fr//dewplayer-multi.swf?mp3=http://pierrebrest.free.fr/biosynergie/audio/Coue/01-1.Introduction.mp3%7Chttp://pierrebrest.free.fr/biosynergie/audio/Coue/02-2.AutosuggestionConsciente.mp3%7Chttp://pierrebrest.free.fr/biosynergie/audio/Coue/03-3.SuggestionEmileCoue.mp3&amp;autostart=1&amp;showtime=1&amp;bgcolor=FFFFFF" quality="high" bgcolor="FFFFFF" name="dewplayer" wmode="transparent" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="20" width="240"></object></p>
<p style="color: rgb(0, 0, 0); font-family: Arial,sans-serif; font-size: 11px; font-weight: normal; text-align: center; text-decoration: none;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="dewplayer" align="middle" height="30" width="300"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://forum.frequencebonheur.fr//dewplayer.swf?son=http://pierrebrest.free.fr/biosynergie/audio/Coue/02-2.AutosuggestionConsciente.mp3&amp;autostart=0&amp;bgcolor=FFFFFF"><param name="quality" value="high"><param name="bgcolor" value="FFFFFF"><embed src="http://forum.frequencebonheur.fr//dewplayer.swf?son=http://pierrebrest.free.fr/biosynergie/audio/Coue/02-2.AutosuggestionConsciente.mp3&amp;autostart=0&amp;bgcolor=FFFFFF" quality="high" bgcolor="FFFFFF" name="dewplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="30" width="300"></object> <a href="http://pierrebrest.free.fr/biosynergie/audio/Coue/02-2.AutosuggestionConsciente.mp3"><img style="border: medium none ; text-decoration: none;" src="http://forum.frequencebonheur.fr//Themes/default/images/podcast.gif" title="Podcast" alt="Podcast" align="absbottom"></a><br></p>
<p style="color: rgb(0, 0, 0); font-family: Arial,sans-serif; font-size: 11px; font-weight: normal; text-align: center; text-decoration: none;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="dewplayer" align="middle" height="30" width="300"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://forum.frequencebonheur.fr//dewplayer.swf?son=http://pierrebrest.free.fr/biosynergie/audio/Coue/03-3.SuggestionEmileCoue.mp3&amp;autostart=0&amp;bgcolor=FFFFFF"><param name="quality" value="high"><param name="bgcolor" value="FFFFFF"><embed src="http://forum.frequencebonheur.fr//dewplayer.swf?son=http://pierrebrest.free.fr/biosynergie/audio/Coue/03-3.SuggestionEmileCoue.mp3&amp;autostart=0&amp;bgcolor=FFFFFF" quality="high" bgcolor="FFFFFF" name="dewplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="30" width="300"></object> <a href="http://pierrebrest.free.fr/biosynergie/audio/Coue/03-3.SuggestionEmileCoue.mp3"><img style="border: medium none ; text-decoration: none;" src="http://forum.frequencebonheur.fr//Themes/default/images/podcast.gif" title="Podcast" alt="Podcast" align="absbottom"></a><br></p>



Language Integration

To make the mod work with your language, simply open Modifications.*.php, where * is the language you wish to integrate the mod into, and add $txt['mp3'] = 'mp3 insert full url'; to its own line in the file.

Frequent trouble with Language Integration
There is a stray $txt['mp3'= 'mp3' at the top of your board index page.

$txt['mp3'= 'mp3' at the top of your board index page means a problem with carriage return inside
Themes/languages/Modifications.<YourLang>.php
for example :
Themes/languages/Modifications.english.php

This file must be something like this :
<?php
// Version: 1.1; Modifications

$txt['myvideo'] = 'MyVideo insert Number';

$txt['youtube'] = 'YouTube';

$txt['dailymotion'] = 'DailyMotion';

$txt['mp3'] = 'mp3';

?>


So you can fix it unstalling mod, then editing this file and verifying there is at least these lignes :
<?php
// Version: 1.1; Modifications

?>

Let notice each ligne begins with :
$txt...
And then install again the mod.


Theme integration
You have just to copy picture installed by the mod in Themes/default/images/bbc/mp3.gif into Themes/<Your Theme>/images/bbc
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: