校园春色亚洲色图_亚洲视频分类_中文字幕精品一区二区精品_麻豆一区区三区四区产品精品蜜桃

主頁 > 知識庫 > asp 實現(xiàn)視頻顯示的效果函數(shù)

asp 實現(xiàn)視頻顯示的效果函數(shù)

熱門標(biāo)簽:綿陽防封電銷卡價格 中國辦理電信400電話 福建外呼增值業(yè)務(wù)線路 宜賓語音外呼系統(tǒng)軟件 調(diào)度系統(tǒng)外呼 河北智能外呼系統(tǒng)軟件 電銷機(jī)器人源碼網(wǎng)盤下載 伊春外呼業(yè)務(wù)系統(tǒng) 電銷機(jī)器人教育
%
'******************************
'函數(shù):SelPlay(strUrl,strWidth,StrHeight)
'參數(shù):strUrl,動畫視頻路徑;strWidth,視頻高度;StrHeight,視頻高度
'作者:阿里西西
'日期:2007/7/13
'描述:取得用戶真實IP,對代理地址仍然有效;返回值:文本類型的IP地址
'示例:%=SelPlay("mov.swf","120","90")%>
'******************************
Sub SelPlay(strUrl,strWidth,StrHeight)
Dim Exts,isExt
If strUrl > "" Then
   isExt = LCase(Mid(strUrl,InStrRev(strUrl, ".")+1))
Else
   isExt = ""
End If
Exts = "avi,wmv,asf,mov,rm,ra,ram,swf"
If Instr(Exts,isExt)=0 Then
 Response.write "非法視頻文件"
Else
 Select Case isExt
  Case "avi","wmv","asf","mov"
   Response.write "EMBED id=MediaPlayer src="strUrl" width="strWidth" height="strHeight" loop=""false"" autostart=""true"">/EMBED>"
  Case "mov","rm","ra","ram"
   Response.Write "OBJECT height="strHeight" width="strWidth" classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA>"
   Response.Write "PARAM NAME=""_ExtentX"" VALUE=""12700"">"
   Response.Write "PARAM NAME=""_ExtentY"" VALUE=""9525"">"
   Response.Write "PARAM NAME=""AUTOSTART"" VALUE=""-1"">"
   Response.Write "PARAM NAME=""SHUFFLE"" VALUE=""0"">"
   Response.Write "PARAM NAME=""PREFETCH"" VALUE=""0"">"
   Response.Write "PARAM NAME=""NOLABELS"" VALUE=""0"">"
   Response.Write "PARAM NAME=""SRC"" VALUE="""strUrl""">"
   Response.Write "PARAM NAME=""CONTROLS"" VALUE=""ImageWindow"">"
   Response.Write "PARAM NAME=""CONSOLE"" VALUE=""Clip"">"
   Response.Write "PARAM NAME=""LOOP"" VALUE=""0"">"
   Response.Write "PARAM NAME=""NUMLOOP"" VALUE=""0"">"
   Response.Write "PARAM NAME=""CENTER"" VALUE=""0"">"
   Response.Write "PARAM NAME=""MAINTAINASPECT"" VALUE=""0"">"
   Response.Write "PARAM NAME=""BACKGROUNDCOLOR"" VALUE=""#000000"">"
   Response.Write "/OBJECT>"
   Response.Write "BR>"
   Response.Write "OBJECT height=32 width="strWidth" classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA>"
   Response.Write "PARAM NAME=""_ExtentX"" VALUE=""12700"">"
   Response.Write "PARAM NAME=""_ExtentY"" VALUE=""847"">"
   Response.Write "PARAM NAME=""AUTOSTART"" VALUE=""0"">"
   Response.Write "PARAM NAME=""SHUFFLE"" VALUE=""0"">"
   Response.Write "PARAM NAME=""PREFETCH"" VALUE=""0"">"
   Response.Write "PARAM NAME=""NOLABELS"" VALUE=""0"">"
   Response.Write "PARAM NAME=""CONTROLS"" VALUE=""ControlPanel,StatusBar"">"
   Response.Write "PARAM NAME=""CONSOLE"" VALUE=""Clip"">"
   Response.Write "PARAM NAME=""LOOP"" VALUE=""0"">"
   Response.Write "PARAM NAME=""NUMLOOP"" VALUE=""0"">"
   Response.Write "PARAM NAME=""CENTER"" VALUE=""0"">"
   Response.Write "PARAM NAME=""MAINTAINASPECT"" VALUE=""0"">"
   Response.Write "PARAM NAME=""BACKGROUNDCOLOR"" VALUE=""#000000"">"
   Response.Write "/OBJECT>"
  Case "swf"
   Response.Write "embed src="""strUrl""" width="""strWidth""" height="""strHeight""" type=""application/x-shockwave-flash"" play=""true"" loop=""true"" menu=""true"">/embed>"
  Case else
   Response.Write "img src=""/IMages/NoDV.JPG"" />"
 End Select
End If
End Sub
%>

標(biāo)簽:銅川 延邊 蘇州 那曲 電商邀評 河池 優(yōu)質(zhì)小號 新鄉(xiāng)

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《asp 實現(xiàn)視頻顯示的效果函數(shù)》,本文關(guān)鍵詞  asp,實現(xiàn),視頻,顯示,的,效果,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《asp 實現(xiàn)視頻顯示的效果函數(shù)》相關(guān)的同類信息!
  • 本頁收集關(guān)于asp 實現(xiàn)視頻顯示的效果函數(shù)的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 巴南区| 罗定市| 高台县| 定安县| 万山特区| 阿荣旗| 通城县| 阳原县| 徐水县| 凉城县| 武鸣县| 安远县| 广元市| 甘肃省| 霸州市| 四子王旗| 陆河县| 株洲市| 兰溪市| 泾源县| 玛曲县| 池州市| 蚌埠市| 濉溪县| 双鸭山市| 汕头市| 陵川县| 财经| 金秀| 浮梁县| 鲜城| 常宁市| 松潘县| 华容县| 梅州市| 原平市| 兴和县| 安义县| 定安县| 丹寨县| 长岭县|