I've modified bbcode-filter.inc:
//Flash media player
'#\[mp3\](.*?)\[/mp3(?::\w+)?\]#si' => '<swf file="\\1">',
I use swftools, so <swf file=""> should give me a swf outut, yet, when using [mp3]lol2.mp3[/mp3] I get the same code, no tag filter, am I missing something?
Comments
Comment #1
naudefj commentedYou are replacing your custom MP3 tags with nothing (right hand side is => ' ').
Comment #2
chasz commentedwhat you mean replaced with nothing??
=> '<swf file="\\1">',Comment #3
naudefj commentedAdded to readme file. I will move it to bbcode-filter.inc if more people need it.