Hello world.
I simply want to use these two BBcodes (from phpbb3) in wordpress:
1. [Video]{SIMPLETEXT}[/Video]
<script type="text/javascript" src="http://www.erl115.net/public/flashplayer/flowplayer-3.2.6.min.js"></script>
<script>flowplayer("player", "http://www.erl115.net/public/flashplayer/flowplayer-3.2.7.swf");</script>
2. [Music]{SIMPLETEXT}[/Music]
<embed type="application/x-shockwave-flash" flashvars="audioUrl=http://erl115.net/public/flashmusic/{SIMPLETEXT}" src="http://www.erl115.net/public/musicplayer/player.swf" width="400" height="27" quality="best"></embed>
I've only made the .php file with the head information for the plugin, but have no clue on how to proceed :(
I want a button or code i can add when im creating a new post where I can add the url for my video or music files, the java script and the players i already have on my server (as you can see in the BBcodes).
I will guess this is a easy plugin code to make, but I have never made any plugin for wordpress so I dont know the language.
Maybe someone could send me in teh right directions or write me the codes for the .php file? :)
I hope someone can help and I will be grateful for any answer ^^