好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > asp 實現視頻顯示的效果函數

asp 實現視頻顯示的效果函數

熱門標簽:綿陽防封電銷卡價格 中國辦理電信400電話 福建外呼增值業務線路 宜賓語音外呼系統軟件 調度系統外呼 河北智能外呼系統軟件 電銷機器人源碼網盤下載 伊春外呼業務系統 電銷機器人教育
%
'******************************
'函數:SelPlay(strUrl,strWidth,StrHeight)
'參數: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
%>

標簽:銅川 延邊 蘇州 那曲 電商邀評 河池 優質小號 新鄉

巨人網絡通訊聲明:本文標題《asp 實現視頻顯示的效果函數》,本文關鍵詞  asp,實現,視頻,顯示,的,效果,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《asp 實現視頻顯示的效果函數》相關的同類信息!
  • 本頁收集關于asp 實現視頻顯示的效果函數的相關信息資訊供網民參考!
  • 推薦文章