濮阳杆衣贸易有限公司

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

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

熱門標(biāo)簽:綿陽防封電銷卡價(jià)格 中國辦理電信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,動(dòng)畫視頻路徑;strWidth,視頻高度;StrHeight,視頻高度
'作者:阿里西西
'日期:2007/7/13
'描述:取得用戶真實(shí)IP,對(duì)代理地址仍然有效;返回值:文本類型的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)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《asp 實(shí)現(xiàn)視頻顯示的效果函數(shù)》相關(guān)的同類信息!
  • 本頁收集關(guān)于asp 實(shí)現(xiàn)視頻顯示的效果函數(shù)的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    遂平县| 深州市| 西乌| 兴安盟| 哈尔滨市| 浦北县| 广丰县| 金山区| 蓬溪县| 溧水县| 三明市| 高邑县| 娄底市| 卢湾区| 卫辉市| 班戈县| 方正县| 蕉岭县| 美姑县| 类乌齐县| 大宁县| 安义县| 九江县| 农安县| 龙口市| 武平县| 安溪县| 洪江市| 彭水| 图木舒克市| 邳州市| 曲周县| 哈巴河县| 蒙山县| 清徐县| 桃园市| 惠水县| 云龙县| 衡水市| 彭州市| 同心县|