Advertisement:

Author Topic: does SMF support online reaplayer??  (Read 31541 times)

Offline ivytony

  • Jr. Member
  • **
  • Posts: 122
does SMF support online reaplayer??
« on: March 11, 2005, 05:47:22 PM »
Hi,

I am thingking about allowing users to listen to music or news online in the forum. I want to insert  realplayer. does the forum support realplayer?

thanks

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: does SMF support online reaplayer??
« Reply #1 on: March 11, 2005, 05:48:58 PM »
If it's just HTML to be put in the layout, SMF won't even know anything is different.

-[Unknown]

Offline Louis (CSpotkill)

  • Jr. Member
  • **
  • Posts: 154
  • Gender: Male
  • Geek with Style
    • LSTA
Re: does SMF support online reaplayer??
« Reply #2 on: March 11, 2005, 11:28:07 PM »
If you want to be able to use a Real Player BBCode tag, like [real]url-to-file.ram[/real], try adding this to subs.php just before the comment, // An email address they just typed in.

	
	
	
// Real [real]example.ram[/real]
	
	
	
&
#39;~\[real\](?:<br />)*(.+?)(?:<br />)*\[/real\]~i&#39; => isset($disabled[&#39;real&#39;]) ? &#39;Real: $1&#39; : &#39;<object type="audio/x-pn-realaudio-plugin" height="60" width="300" data="$1"><param name="src" value="$1" /><param name="controls" value="default" /><param name="autostart" value="false" /></object>&#39;,


Example at: http://www.cszen.com/testforum/index.php?topic=1.msg6#msg6
« Last Edit: March 11, 2005, 11:32:03 PM by CSpotkill »
My SMF Mods:

Offline ivytony

  • Jr. Member
  • **
  • Posts: 122
Re: does SMF support online reaplayer??
« Reply #3 on: March 13, 2005, 03:54:51 PM »
how to add new BBC codes in the SMF?

hi, I have added the scripts that support insertion of realplayer and wma files in the SMF post. Bud I don't know how to add new bbc codes in the editor (jus like the flash, picture, quote Bulletin board code icon above).

somebody can help me?

thanks

Offline Hellen

  • Semi-Newbie
  • *
  • Posts: 37
  • Gender: Female
    • Ruyi Miracle
Re: does SMF support online reaplayer??
« Reply #4 on: March 13, 2005, 05:16:43 PM »
how to add new BBC codes in the SMF?

hi, I have added the scripts that support insertion of realplayer and wma files in the SMF post. Bud I don't know how to add new bbc codes in the editor (jus like the flash, picture, quote Bulletin board code icon above).

somebody can help me?

thanks


Hi, here!

http://www.simplemachines.org/community/index.php?topic=30343.0

Offline Louis (CSpotkill)

  • Jr. Member
  • **
  • Posts: 154
  • Gender: Male
  • Geek with Style
    • LSTA
Re: does SMF support online reaplayer??
« Reply #5 on: March 13, 2005, 08:01:09 PM »
Thanks, Hellen. (Sorry, ivytony, I forgot to link to that after I posted it for Hellen.)
My SMF Mods:

Offline Oldiesmann

  • Developer
  • SMF Super Hero
  • *
  • Posts: 24,814
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • http://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: does SMF support online reaplayer??
« Reply #6 on: March 16, 2005, 01:17:34 PM »
Louis, thanks for this. I added it and the wma tag to my board at http://www.christianindieforums.com (relatively new - haven't really mentioned it here). I also added tags for MP3, streaming MP3 (.m3u, .pls) and streaming Windows Media Audio (.asx)
Michael Eshom
Webmaster / SMF Lead Developer
oldiesmann@simplemachines.org

Offline Louis (CSpotkill)

  • Jr. Member
  • **
  • Posts: 154
  • Gender: Male
  • Geek with Style
    • LSTA
Re: does SMF support online reaplayer??
« Reply #7 on: March 16, 2005, 10:31:08 PM »
Louis, thanks for this. I added it and the wma tag to my board at http://www.christianindieforums.com (relatively new - haven't really mentioned it here). I also added tags for MP3, streaming MP3 (.m3u, .pls) and streaming Windows Media Audio (.asx)
For the other audio formats, if you modified my wma code to fit the mp3 code, etc., I hope you remembered to change type="audio/x-ms-wma" to a player-specific type or something like type="audio/mpeg3" for MP3, as it's possible that someone might want to play an MP3 file but doesn't have a WMA player like Windows Media Player installed. Of course, because you never can predict what software people may have, it's always hard to make sure it works for everybody, but at least you won't be breaking web standards (and potentially confusing a badly written player) by sending an MP3 but calling it a WMA file. ::)
My SMF Mods:

Offline CapriSkye

  • Full Member
  • ***
  • Posts: 574
    • Open
Re: does SMF support online reaplayer??
« Reply #8 on: March 27, 2005, 08:58:03 PM »
anybody know how to make it work with wmv file? i tried to change type to video/x-ms-wmv but doesn't work. thanks

Offline CapriSkye

  • Full Member
  • ***
  • Posts: 574
    • Open
Re: does SMF support online reaplayer??
« Reply #9 on: March 29, 2005, 01:40:43 AM »
anybody know how to make it work with wmv file? i tried to change type to video/x-ms-wmv but doesn't work. thanks

nm, it does work

Offline Dr.Tech

  • Newbie
  • *
  • Posts: 4
Re: does SMF support online reaplayer??
« Reply #10 on: April 05, 2005, 03:50:41 PM »
I have quicktime player working to play audio and video attachments inline under pnPHPBB2.  If anyone knows how to translate it to work properly in SMF, I'd be eternally grateful!

I  could post the lines here, if it would help.

Offline 1948Pal

  • Jr. Member
  • **
  • Posts: 389
  • Gender: Male
    • The Struggle for a free Palestine
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware