rent.document.forms[0].Message.value+=''
播放视频文件
在线播放\n''}
else{oEditor.InsertHtml(''<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" type="application/x-oleobject" standby="Loading..." width="400" height="300"><param name="FileName" VALUE="''+path+''" /><param name="ShowStatusBar" value="-1" /><param name="AutoStart" value="true" /><embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="''+path+''" autostart="true" width="400" height="300" /></object>'')}
break;
case ''wmv'':
if (EditType=="UBBEditor"){parent.document.forms[0].Message.value+=''
播放视频文件
在线播放\n''}
else{oEditor.InsertHtml(''<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="/uploadfile/201306/29/28153515861.gif" alt="" style="margin:0px 2px -3px 0px" border="0"/>Flash动画
在线播放\n''}
else{oEditor.InsertHtml(''<object codebase="/uploadfile/201306/29/BD153516157.gif" alt="下载文件" style="margin:0px 2px -4px 0px"/> 点击下载此文件\n''}
}
else{oEditor.InsertHtml(''<a href="''+path+''"><img border="0" src="../../uploadfile/201306/29/C7153519824.gif" alt="" style="margin:0px 2px -4px 0px"/>点击下载此文件</a>'')}
break;
}
}
//写入顶部Flash文件
function WriteHeadFlash(Path,Width,Height,Transparent){
var Temp,T=""
Temp=''<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="FlashH" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="''+Width+''" height="''+Height+''">''
Temp+=''<param name="movie" value="''+Path+''"/>''
Temp+=''<param name="quality" value="High"/>''
Temp+=''<param name="scale" value="ExactFit"/>''
if (Transparent) {Temp+='' <param name="wmode" value="transparent"/>'';T=''wmode="transparent"''}
Temp+=''<embed src="''+Path+''" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="FlashH" width="''+Width+''" height="''+Height+''" quality="High"''+T+'' scale="ExactFit"/>''
Temp+=''</object>''
document.getElementById("FlashHead").innerHTML=Temp
}