Selfmade tags in body

Dec 27, 2010 at 7:07 AM

What is the best way to implement embedded video player in body part as tag. For example user in body specify [mp3]/mymedia/coolsong.mp3[/mp3]. And i would like to run some transformations, that in the end replace [mp3]...[/mp3] to <object...>...</object> with player. First thing that came to mi mind is yours solution - to specify part with movie url. But this does not gives end user freedom i would like to give.  What are the best solutions here ?