vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Convert to BBCode (https://vborg.vbsupport.ru/showthread.php?t=203062)

Reycer 01-25-2009 04:15 PM

Convert to BBCode
 
Is there any way to convert this code:

Quote:

<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

Quote:

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 ;)


All times are GMT. The time now is 12:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00969 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete