PDA

View Full Version : Convert to BBCode


Reycer
01-25-2009, 04:15 PM
Is there any way to convert this code:

<OBJECT ID="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab# Version=5,1,52,701" STANDBY="Loading Microsoft Windows? Media Player components..." TYPE="application/x-oleobject" width="280" height="46">
<param name="fileName" value="http://71.51.223.201:8000/stream.ogg">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-300">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://www.domain.com/music/music.m3u" name="MediaPlayer1" width=280 height=46 autostart=1 showcontrols=1 volume=-300>
</OBJECT>


to BBCode, so that I can embed it into my Vbulletin?

It's for an online radio station that I do.

UKBusinessLive
01-25-2009, 06:53 PM
Hi

The stream is not working for a start

Oops! This link appears broken.
Page not found - connection failure.

I think it may be quite difficult to get this coded to play as a bbcode (But i may be wrong :confused:)

This url comes up as a domain registering site :confused: http://www.domain.com/music/music.m3u

I think your best bet would be to download an already scripted BBcode for this type of thing, The LastSuperman has a Brilliant small BBcode here https://vborg.vbsupport.ru/showthread.php?t=199440

So your going to have to get the format of your radio Station done in MP3, But to get a live radio bbcode might be a different ballgame all together.

You may get some more information from the ogg Vorbis site here http://www.vorbis.com/

I've had a look and the closes thing i could find was winamp clones that can play the ogg streams, there are a few available for for download. But so far nothing that resembles a bbcode, I'll keep looking for you ;)

Good Luck

Reycer
01-25-2009, 09:12 PM
no, the stream is good, just have it down right now. I have several listeners, and have it so that it can easily be listened to at www.lacledeforum.com/radio.html But would love to have it within my forum site, maybe I can just make it be a little auto pop-up. hmm...now that's an idea.

UKBusinessLive
01-25-2009, 10:13 PM
You could use a bbcode window media player and then update the codec's so it plays .ogg files

Download the codecs here
http://www.xiph.org/dshow/

I can make you a Window Media Player as a BBcode, Thats not the problem the problem will be that the user will need to install the codec's on their pc for the media player to work with the ogg files.

let me know if you want the code for this and i'll upload it for you ;)