Description: Feel free to add anything what will promote your MP3 Player to your user.
Use {option}: No Button Image:
Code:
images/editor/mp3_bb.png
Remove Tag If Empty: Yes Disable BB Code Within This BB Code: Yes Disable Smilies Within This BB Code: Yes Disable Word Wrapping Within This BB Code: Yes
For adding an option you have to edit the: <param name="FlashVars" value="playerID=audioplayer&soundFile={param}" > line.
Example: <param name="FlashVars" value="option1=setting1&option2=setting2&playerID=audioplayer&soundFile={param}">
No more text displayed after the code tag: just add a </object> to the end of the BB replacement. At release this line was missin here. Sry!
Broken in vb 4.0.3 ??
Change: Disable BB Code Within This BB Code: No Disable Smilies Within This BB Code: No Disable Word Wrapping Within This BB Code: No
to: Disable BB Code Within This BB Code: Yes Disable Smilies Within This BB Code: Yes Disable Word Wrapping Within This BB Code: Yes
Param Error at saving the BB code: Just pass it, by clicking continue. It is just a format notice, actually there is no other way to solve it.
2010 that is an old player for today's standards. You could replace this with any good flash player on the web. I am a little concerned due to the age of the 'swf' that it could be used as an exploit -- not that it is exploitable. When I get a chance I will check out a few replacements and post it in the main section.
This is not to take anything away from the gracious author who shared and posted here.
This is not to take anything away from the gracious author who shared and posted here.
I don't see it as taking anything away from the author...Like most mods and add ons, things need to be updated now and then..It's a cool, little modification..When it works..
it works just fine for me. I like it.
I'm just thinking wouldn't it be great if there is a way to detect if the browser supports HTML5 and use html5 to play the file using audio tags instead?
Code:
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Are you saying that if this code is inserted into the original then it will work?
Or is this a stand alone option?
Where does this code go?
Ooooo, such excitement...
The code in the previous post is just an example of how html5 can play audio files.
This should work:
Code:
<audio controls>
<source src="{param}" type="audio/ogg">
<source src="{param}" type="audio/mpeg">
<source src="{param}" type="audio/wav">
Your browser does not support the audio element.
</audio>
It will playback mp3, ogg, and wav files only. If and only if, the browser supports playing back these type of files using html5.
you can give it a try and add a new BB Code just like what you did for this add-on and give it another name, for example "audio", would be good enough.
and then try it using [audio] tag.
I'm trying to figure out a way to use both based on whether the browser supports audio playback or not.