Support » Plugins » Creating a plugin for my video/music use, need help.

  • Hello world.

    I simply want to use these two BBcodes (from phpbb3) in wordpress:

    1. [Video]{SIMPLETEXT}[/Video]

    <script type=”text/javascript” src=””></script>

    <script>flowplayer(“player”, “”);</script>

    2. [Music]{SIMPLETEXT}[/Music]

    <embed type=”application/x-shockwave-flash” flashvars=”audioUrl={SIMPLETEXT}” src=”” 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 ^^

Viewing 2 replies - 1 through 2 (of 2 total)
  • There was a error in the video bbcode, its like this:

    <script type=”text/javascript” src=””></script>

    <script>flowplayer(“player”, “”);</script>

    <script type="text/javascript" src=""></script>
    <a href="{SIMPLETEXT}" style="display:block;width:640px;height:360px" id="player"></a>
    <script>flowplayer("player", "");</script>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Creating a plugin for my video/music use, need help.’ is closed to new replies.