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

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

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

熱門(mén)標(biāo)簽:綿陽(yáng)防封電銷(xiāo)卡價(jià)格 中國(guó)辦理電信400電話 福建外呼增值業(yè)務(wù)線路 宜賓語(yǔ)音外呼系統(tǒng)軟件 調(diào)度系統(tǒng)外呼 河北智能外呼系統(tǒng)軟件 電銷(xiāo)機(jī)器人源碼網(wǎng)盤(pán)下載 伊春外呼業(yè)務(wù)系統(tǒng) 電銷(xiāo)機(jī)器人教育
%
'******************************
'函數(shù):SelPlay(strUrl,strWidth,StrHeight)
'參數(shù):strUrl,動(dòng)畫(huà)視頻路徑;strWidth,視頻高度;StrHeight,視頻高度
'作者:阿里西西
'日期:2007/7/13
'描述:取得用戶(hù)真實(shí)IP,對(duì)代理地址仍然有效;返回值:文本類(lèi)型的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)簽:銅川 延邊 蘇州 那曲 電商邀評(píng) 河池 優(yōu)質(zhì)小號(hào) 新鄉(xiāng)

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《asp 實(shí)現(xiàn)視頻顯示的效果函數(shù)》,本文關(guān)鍵詞  asp,實(shí)現(xiàn),視頻,顯示,的,效果,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《asp 實(shí)現(xiàn)視頻顯示的效果函數(shù)》相關(guān)的同類(lèi)信息!
  • 本頁(yè)收集關(guān)于asp 實(shí)現(xiàn)視頻顯示的效果函數(shù)的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 富蕴县| 星子县| 遂平县| 南充市| 田阳县| 昌都县| 南部县| 四子王旗| 岱山县| 绥阳县| 蒙阴县| 安宁市| 余干县| 阿勒泰市| 永仁县| 慈利县| 繁峙县| 南丰县| 遵义县| 邳州市| 固镇县| 新余市| 赣榆县| 台南县| 福泉市| 阜宁县| 南丰县| 平远县| 白水县| 丰台区| 琼中| 万年县| 龙川县| 吕梁市| 繁峙县| 青河县| 鄂托克前旗| 鄂州市| 萨嘎县| 饶河县| 扶风县|