Customizing SMF > SMF Coding Discussion

BBcode - Windows Media Player Needed

(1/1)

mark866:
Hi I have learnt alot about SMF, but I am having trouble of adding a bbcode for windows media player, I have searched everywhere and can't find a thing.

I got the custom bbcode mod installed but all I need is a windows media player bbcode,
any help given is appriciated

Thanks in Advance

CreativeITWorld.com:
It may be years too late for the one that asked the question, but it is still a common question that few seem to know the answer to.

Using the HTML code ...


--- Code: ---[html]WMP Code[/html]
--- End code ---

Example

--- Code: ---[html]<object id="MediaPlayer1" width="264" height="226"
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" align="middle">
 &nbsp; &nbsp;<param name="FileName" value="http://yoursite.com/yourfile.m3u" />
 &nbsp; &nbsp;<param name="AutoStart" value="1" />
 &nbsp; &nbsp;<param name="ShowStatusBar" value="True" />
 &nbsp; &nbsp;<param name="DefaultFrame" value="mainFrame" />
 &nbsp; &nbsp;<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src="http://yoursite.com/yourfile.m3u" align="middle"
width="264"
height="226"> </embed>
 &nbsp;</object>[/html]
--- End code ---

I used an M3U playlist file there, but you can use other file types or playlists.

Shambles:

--- Quote from: CreativeITWorld.com on May 31, 2012, 03:34:06 AM ---It may be years too late for the one that asked the question, but it is still a common question that few seem to know the answer to.

Using the HTML code ...


--- Code: ---[html]WMP Code[/html]
--- End code ---

Example

--- Code: ---[html]<object id="MediaPlayer1" width="264" height="226"
...
height="226"> </embed>
 &nbsp;</object>[/html]
--- End code ---

I used an M3U playlist file there, but you can use other file types or playlists.

--- End quote ---


... but can regular members use [html]..[/html] tags?

I don't think so

Arantor:
They can't, no, for the obvious reason that it's insecure to do so. Making a bbcode for this would not be particularly hard but I'm not sure why one might do so, especially when there are solutions in various fashions that may or may not be better.

MrPhil:
Also, will this work only on MS Windows PCs doing the browsing (and possibly only with IE)? If it's not on the server (in which case it would probably work only for a Windows server anyway), this would leave Linux PCs and Macs out in the cold, wouldn't it?

Navigation

[0] Message Index

Go to full version