婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁(yè) > 知識(shí)庫(kù) > 網(wǎng)頁(yè)視頻播放器程序代碼(通用代碼)

網(wǎng)頁(yè)視頻播放器程序代碼(通用代碼)

熱門標(biāo)簽:隨州銷售外呼系統(tǒng)平臺(tái) 臨滄移動(dòng)外呼系統(tǒng)哪家有 激戰(zhàn)黃昏地圖標(biāo)注說(shuō)明 怎么更改地圖標(biāo)注電話 防城港市ai電銷機(jī)器人 寧夏保險(xiǎn)智能外呼系統(tǒng)哪家好 交行外呼系統(tǒng)有哪些 不同的地圖標(biāo)注 溫嶺代理外呼系統(tǒng)
'***********************************************
'函數(shù)名:SelPlay
'作  用:在網(wǎng)頁(yè)中播放視頻
'參  數(shù):strUrl ---- 視頻地址
           strWidth ---顯示視頻寬
           strHeight ---顯示視頻高
'***********************************************
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"
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>"
 End Select
End If
End Sub 
 調(diào)用程序代碼
Call SelPlay(DvUrl,280,220)
您可能感興趣的文章:
  • 瀏覽器中視頻播放器實(shí)現(xiàn)的基本思路與代碼

標(biāo)簽:紅河 哈密 沈陽(yáng) 忻州 青海 無(wú)錫 河源 阜陽(yáng)

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《網(wǎng)頁(yè)視頻播放器程序代碼(通用代碼)》,本文關(guān)鍵詞  網(wǎng)頁(yè),視頻,播放器,程序,;如發(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)文章
  • 下面列出與本文章《網(wǎng)頁(yè)視頻播放器程序代碼(通用代碼)》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于網(wǎng)頁(yè)視頻播放器程序代碼(通用代碼)的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 乐山市| 祁东县| 蚌埠市| 吉林市| 台南县| 宜兰市| 集贤县| 咸阳市| 榆社县| 崇阳县| 苏尼特右旗| 兴山县| 龙陵县| 永年县| 长沙市| 永嘉县| 平陆县| 阳新县| 东辽县| 嘉禾县| 内黄县| 乌拉特前旗| 道孚县| 忻城县| 江山市| 苏尼特右旗| 闸北区| 集贤县| 奉化市| 崇义县| 宁国市| 昌邑市| 平原县| 旌德县| 娄烦县| 罗山县| 梁平县| 汉阴县| 陆河县| 通辽市| 鹿泉市|