News:

Wondering if this will always be free?  See why free is better.

Main Menu

does SMF support online reaplayer??

Started by ivytony, March 11, 2005, 05:47:22 PM

Previous topic - Next topic

ivytony

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

[Unknown]

If it's just HTML to be put in the layout, SMF won't even know anything is different.

-[Unknown]

Louis (CSpotkill)

#2
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]
	
	
	
'~\[real\](?:<br />)*(.+?)(?:<br />)*\[/real\]~i' => isset($disabled['real']) ? 'Real: $1' '<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>',


Example at: http://www.cszen.com/testforum/index.php?topic=1.msg6#msg6
My SMF Mods:

ivytony

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

Hellen

Quote from: ivytony 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


Hi, here!

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

Louis (CSpotkill)

Thanks, Hellen. (Sorry, ivytony, I forgot to link to that after I posted it for Hellen.)
My SMF Mods:

Oldiesmann

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
Christian Metal Fans

Louis (CSpotkill)

Quote from: Oldiesmann 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)
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:

CapriSkye

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

CapriSkye

Quote from: CapriSkye 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

nm, it does work

Dr.Tech

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.

1948Pal

"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Advertisement: