<%
if rst("video_type")=".wmv" or rst("video_type")=".asf" or rst("video_type")=".wma" then
call media
else
call rm
end if
%>
<% sub rm %>
<table height=300 cellPadding=0 width=330 bgColor=#4e565c
border=1 bordercolorlight="#75828A" bordercolordark="#343A3F" align="center" >
<tr><td align=middle>
<table>
<tr>
<td colspan="2">
<object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=240 id=video2 width=320>
<param name="_ExtentX" value="10583">
<param name="_ExtentY" value="8176">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="<%=rst("video_url")%>">
<param name="CONTROLS" value="Imagewindow">
<param name="CONSOLE" value="Clip1">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<param name="EnableFullScreenControls" value="1">
</object>
</td>
</tr>
<tr>
<td>
<a href="#" onClick="setFull();"><input type="submit" value="全屏" class="textfield6"></a></td>
<td>
<object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=50 id=video3 width=290>
<param name="_ExtentX" value="10583">
<param name="_ExtentY" value="8176">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="<%=rst("video_url")%>">
<param name="CONTROLS" value="ControlPanel,StatusBar">
<param name="CONSOLE" value="Clip1">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<param name="EnableFullScreenControls" value="1">
</object>
</td>
</tr></table>
</td>
</tr>
</table>
<% end sub
set rst=nothing
'set conn=nothing
%>
<%sub media %>
<table height=300 cellPadding=0 width=330 bgColor=#4e565c
border=1 bordercolorlight="#75828A" bordercolordark="#343A3F" align="center" >
<tr>
<td align=middle valign="middle" >
<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,1,5,217"
id=MediaPlayer type=application/x-oleobject width=320 height=290 standby="Loading Microsoft Windows Media Player components..." VIEWASTEXT align=MIDDLE >
<param name=AudioStream value=-1>
<param name=AutoSize value=0>
<param name=AutoStart value=1>
<param name=AnimationAtStart value=0>
<param name=AllowScan value=-1>
<param name=AllowChangeDisplaySize value=0>
<param name=AutoRewind value=0>
<param name=Balance value=0>
<param name=BaseURL value="">
<param name=BufferingTime value=5>
<param name=CaptioningID value="">
<param name=ClickToPlay value=0>
<param name=CursorType value=32512>
<param name=CurrentPosition value=-1>
<param name=CurrentMarker value=0>
<param name=DefaultFrame value=1>
<param name=DisplayBackColor value=0>
<param name=DisplayForeColor value=16777215>
<param name=DisplayMode value=0>
<param name=DisplaySize value=0>
<param name=Enabled value=-1>
<param name=EnableContextMenu value=-1>
<param name=EnablePositionControls value=0>
<param name=EnableFullScreenControls value=0>
<param name=EnableTracker value=1>
<param name=Filename value="<%=rst("video_url")%>">
<param name=InvokeURLs value=-1>
<param name=Language value=-1>
<param name=Mute value=0>
<param name=PlayCount value=1>
<param name=PreviewMode value=0>
<param name=Rate value=1>
<param name=SAMILang value="">
<param name=SAMIStyle value="">
<param name=SAMIFileName value="">
<param name=SelectionStart value=0>
<param name=SelectionEnd value=true>
<param name=SendOpenStateChangeEvents value=-1>
<param name=SendWarningEvents value=-1>
<param name=SendErrorEvents value=-1>
<param name=SendKeyboardEvents value=0>
<param name=SendMouseClickEvents value=0>
<param name=SendMouseMoveEvents value=0>
<param name=SendPlayStateChangeEvents value=-1>
<param name=ShowCaptioning value=0>
<param name=ShowControls value=1>
<param name=ShowAudioControls value=1>
<param name=ShowStatusBar value=1>
<param name=TransparentAtStart value=0>
<param name=VideoBorderWidth value=0>
<param name=VideoBorderColor value=0>
<param name=VideoBorder3D value=0>
<param name=Volume value=-1070>
<param name=WindowlessVideo value=0>
</object>
</td></tr></table>
<% end sub
set rst=nothing
%>
视频播放器(二)
最新推荐文章于 2024-09-07 22:23:19 发布