如何让D25 支持多媒体代码(多媒体代码集合)
D25 中支持自定义BB代码。如果让D25支持多媒体代码的话,比较容易实现,不需要插件即可实现。(对于高安全性的论坛我们不推荐这么做,这不是论坛的bug,而是部分浏览器存在bug,可能影响到论坛用户自身的安全)
1、进入后台……帖子相关…… Discuz! 代码
2、添加 wmv, 然后提交
3、编辑 wmv 标签, 分别输入下面内容
标签: wmv
替换内容:
- <object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" class="OBJECT" id="MediaPlayer" width="500" height="350" >
- <param name="ShowStatusBar" value="-1">
- <param name="Filename" value="{1}">
- <embed type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" flename="wmv" src="{1}" width="500" height="350">
- </embed></object>
复制代码
例子:
- [wmv]mms://your.com/abc.wmv[/wmv]
复制代码
嵌套次数: 1
----------------------------------------------------------------------
完成上面步骤以后提交
之后在标签后面选中 “可用”, 功能就可以实现了,如果你要关闭此功能,直接将“可用”去掉就可以了。
现在补充相应的:
fly
替换内容
- <marquee direction="left" scrollamount="3" onMouseOver="this.stop();" onMouseOut="this.start();">{1}</marquee>
复制代码
例子
解释
飞行文字
===================================================
Shadow
替换内容
- <a style="width:100%; filter:Shadow(color=#999999, direction=145)"><font color="red">{1}</font></font></a>
复制代码
例子
解释
阴影文字
===================================================
strike
替换内容
例子
解释
文字加上刪除线
===================================================
glow
替换内容
- <a style="width:100%;filter:Glow(color=red,strength=3)"><font color="white">{1}</font></a>
复制代码
例子
解释
光晕文字
===================================================
rm
替换内容
- <OBJECT ID=xinhua-mtv CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=240 WIDTH=352 class="border"><PARAM NAME="controls" VALUE="ImageWindow"><PARAM NAME="console" VALUE="xinhua-audio-mtv"><PARAM NAME="autostart" VALUE="-1"><PARAM NAME="src" VALUE="{1}"><param name="_ExtentX" value="9313"><param name="_ExtentY" value="6350"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="LOOP" value="0"><param name="NUMLOOP" value="0"><param name="CENTER" value="0"><param name="MAINTAINASPECT" value="0"><param name="BACKGROUNDCOLOR" value="#000000"><EMBED SRC="{1}" type="audio/x-pn-realaudio-plugin" CONSOLE="Chinawj_net-audio-mtv" CONTROLS="ImageWindow" HEIGHT=288 WIDTH=352 AUTOSTART=ture></OBJECT><br><OBJECT ID=xinhua-mtv CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=90 WIDTH=352><PARAM NAME="controls" VALUE="all"><PARAM NAME="console" VALUE="xinhua-audio-mtv"><param name="_ExtentX" value="9313"><param name="_ExtentY" value="2381"><param name="AUTOSTART" value="0"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="LOOP" value="0"><param name="NUMLOOP" value="0"><param name="CENTER" value="0"><param name="MAINTAINASPECT" value="0"><param name="BACKGROUNDCOLOR" value="#000000"><EMBED type="audio/x-pn-realaudio-plugin" CONSOLE="Chinawj_net-audio-mtv" CONTROLS="all" HEIGHT=90 WIDTH=275 AUTOSTART=false></EMBED></OBJECT>
复制代码
例子
- [rm]mms://music.chinawj.net/music01.rm[/rm]
复制代码
解释
播放rm文件
===================================================
ram
替换内容
- <OBJECT ID=xinhua-mtv CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=240 WIDTH=352 class="border"><PARAM NAME="controls" VALUE="ImageWindow"><PARAM NAME="console" VALUE="xinhua-audio-mtv"><PARAM NAME="autostart" VALUE="-1"><PARAM NAME="src" VALUE="{1}"><param name="_ExtentX" value="9313"><param name="_ExtentY" value="6350"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="LOOP" value="0"><param name="NUMLOOP" value="0"><param name="CENTER" value="0"><param name="MAINTAINASPECT" value="0"><param name="BACKGROUNDCOLOR" value="#000000"><EMBED SRC="{1}" type="audio/x-pn-realaudio-plugin" CONSOLE="Chinawj_net-audio-mtv" CONTROLS="ImageWindow" HEIGHT=288 WIDTH=352 AUTOSTART=ture></OBJECT><br><OBJECT ID=xinhua-mtv CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=90 WIDTH=352><PARAM NAME="controls" VALUE="all"><PARAM NAME="console" VALUE="xinhua-audio-mtv"><param name="_ExtentX" value="9313"><param name="_ExtentY" value="2381"><param name="AUTOSTART" value="0"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="LOOP" value="0"><param name="NUMLOOP" value="0"><param name="CENTER" value="0"><param name="MAINTAINASPECT" value="0"><param name="BACKGROUNDCOLOR" value="#000000"><EMBED type="audio/x-pn-realaudio-plugin" CONSOLE="Chinawj_net-audio-mtv" CONTROLS="all" HEIGHT=90 WIDTH=275 AUTOSTART=false></EMBED></OBJECT>
复制代码
例子
解释
ram
===================================================
mp3
替换内容
- <OBJECT ID=xinhua-mtv CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=240 WIDTH=352 class="border"><PARAM NAME="controls" VALUE="ImageWindow"><PARAM NAME="console" VALUE="xinhua-audio-mtv"><PARAM NAME="autostart" VALUE="-1"><PARAM NAME="src" VALUE="{1}"><param name="_ExtentX" value="9313"><param name="_ExtentY" value="6350"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="LOOP" value="0"><param name="NUMLOOP" value="0"><param name="CENTER" value="0"><param name="MAINTAINASPECT" value="0"><param name="BACKGROUNDCOLOR" value="#000000"><EMBED SRC="{1}" type="audio/x-pn-realaudio-plugin" CONSOLE="Chinawj_net-audio-mtv" CONTROLS="ImageWindow" HEIGHT=288 WIDTH=352 AUTOSTART=ture></OBJECT><br><OBJECT ID=xinhua-mtv CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=90 WIDTH=352><PARAM NAME="controls" VALUE="all"><PARAM NAME="console" VALUE="xinhua-audio-mtv"><param name="_ExtentX" value="9313"><param name="_ExtentY" value="2381"><param name="AUTOSTART" value="0"><param name="SHUFFLE" value="0"><param name="PREFETCH" value="0"><param name="NOLABELS" value="0"><param name="LOOP" value="0"><param name="NUMLOOP" value="0"><param name="CENTER" value="0"><param name="MAINTAINASPECT" value="0"><param name="BACKGROUNDCOLOR" value="#000000"><EMBED type="audio/x-pn-realaudio-plugin" CONSOLE="Chinawj_net-audio-mtv" CONTROLS="all" HEIGHT=90 WIDTH=275 AUTOSTART=false></EMBED></OBJECT>
复制代码
例子
解释
播放mp3
===================================================
mid
替换内容
- <object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" class="OBJECT" id="MediaPlayer" width="500" height="350" ><param name="ShowStatusBar" value="-1"><param name="Filename" value="{1}"><embed type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" flename="wmv" src="{1}" width="400" height="100"></embed></object>
复制代码
例子
解释
播放mid
===================================================
wma
替换内容
- <object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" class="OBJECT" id="MediaPlayer" width="500" height="350" ><param name="ShowStatusBar" value="-1"><param name="Filename" value="{1}"><embed type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" flename="wmv" src="{1}" width="500" height="350"></embed></object>
复制代码
例子
- [wma]mms://your.com/abc.wmv[/wma]
复制代码
解释
播放wma
===================================================
iframe
替换内容
- <iframe src={1} frameborder="0" allowtransparency="true" scrolling="yes" width=800 height=600"></iframe>
复制代码
例子
解释
插入网页
===================================================
dshadow
替换内容
- <a style="width:100%; filter:Shadow(color=#999999, direction=145)"><font color="blue">{1}</font></font></a>
复制代码
例子
解释
阴影文字。
===================================================
blur
替换内容
- <SPAN style="FILTER: Blur(Add=1, Direction=90, Strength=80); WIDTH: 730px">{1}</SPAN>
复制代码
例子
解释
动感文字 |