<!--#include file="CommonCode.asp"-->
<%
Response.Buffer = True
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
Dim DownloadUrl, FileExt
DownloadUrl = PE_Content.GetDownloadUrl()
If DownloadUrl = "ErrorDownloadUrl" Then Response.End
Set PE_Content = Nothing
FileExt = LCase(Mid(DownloadUrl, InStrRev(DownloadUrl, ".") + 1))
If InStr(DownloadUrl, "://") <= 0 Then
    DownloadUrl = "http://" & Trim(Request.ServerVariables("HTTP_HOST")) & DownloadUrl
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK rev=stylesheet media=all href="images/DefaultSkin.css" type=text/css rel=stylesheet>
<title>太原市创想电脑设计工作室</title>
</head>
<body  oncontextmenu='return false' ondragstart='return false' onselectstart ='return false' onselect='document.selection.empty()' oncopy='document.selection.empty()' onbeforecopy='return false'>
<div id="player">
<div  style="padding-top:30px;height:320;">
  <div >
<div id="axplay" style="width:440px;height:320px;top:74px;left:116px;z-index:1;">
<%
Select Case FileExt
Case "wmv", "mpg", "asf", "mp3", "wma", "mpeg", "avi"
    ShowMediaPlayer (DownloadUrl)
Case "rmvb", "ra", "ram", "rm", "mp4", "3gp"
    ShowRealPlayer (DownloadUrl)
Case "swf"
    ShowSwfPlayer (DownloadUrl)
Case "flv"
    ShowFlvPlayer (DownloadUrl)
Case "bobo"
    classid="clsid:A8C3B40D-5384-44AD-ACC4-504B4D8A85F5"
	ocx="http://www.17BoBo.com/Software/BoBo_ActiveX_V3.ocx"
	DownloadUrl=replace(DownloadUrl,"http://","")
	DownloadUrl=replace(DownloadUrl,".bobouni","")
	DownloadUrl=BoBoConvert(DownloadUrl,SiteUrl)
	DownloadUrl=trim(DownloadUrl)
	ShowP2PPlayer (DownloadUrl)
Case Else
IF left(DownloadUrl,19) =  "http://union.bokecc" then
	ShowSwfPlayer (DownloadUrl)
End If
IF left(DownloadUrl,18) =  "'http://play.kankan" then
	ShowKanKanPlayer (DownloadUrl)
End If
IF left(DownloadUrl,17) =  "http://www.17bobo" then
	  ShowP2PPlayer (DownloadUrl)
End If
IF left(DownloadUrl,18) =  "http://www.bobouni" then
	  DownloadUrl=BoBoConvert(DownloadUrl,SiteUrl)
	  ShowP2PPlayer (DownloadUrl)
End If
IF	 DownloadUrl=replace(DownloadUrl,"http://","") then
	 ShowP2PPlayer (DownloadUrl)
End If
End Select
%>
</div>
</div>
</div>
</div>

</body>
</html>
<%
Function ShowMediaPlayer(strUrl)
%>
<OBJECT id=MediaPlayer1 codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading type=application/x-oleobject height=320 width=440 classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 VIEWASTEXT><PARAM NAME="URL" VALUE="<%=strUrl%>"><PARAM NAME="rate" VALUE="1"><PARAM NAME="balance" VALUE="0"><PARAM NAME="currentPosition" VALUE="-1"><PARAM NAME="defaultFrame" VALUE=""><PARAM NAME="playCount" VALUE="1"><PARAM NAME="autoStart" VALUE="-1"><PARAM NAME="currentMarker" VALUE="0"><PARAMNAME="invokeURLs" VALUE="-1"><PARAM NAME="baseURL" VALUE=""><PARAM NAME="volume" VALUE="70"><PARAM NAME="mute" VALUE="0"><PARAM NAME="uiMode" VALUE="full"><PARAM NAME="stretchToFit" VALUE="-1"><PARAM NAME="windowlessVideo" VALUE="0"><PARAM NAME="enabled" VALUE="-1"><PARAM NAME="enableContextMenu" VALUE="0"><PARAM  NAME="fullScreen" VALUE="0"><PARAM NAME="SAMIStyle" VALUE=""><PARAM NAME="SAMILang" VALUE=""><PARAM NAME="SAMIFilename" VALUE=""><PARAM NAME="captioningID" VALUE=""><PARAM NAME="enableErrorDialogs" VALUE="0"><PARAM NAME="_cx" VALUE="11906"><PARAM NAME="_cy" VALUE="9790"></OBJECT>
<%
End Function
Function ShowRealPlayer(strUrl)
%>
<OBJECT height=320 width=440 classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA><PARAM NAME="_ExtentX" VALUE="7938"><PARAM NAME="_ExtentY" VALUE="5292"><PARAM NAME="AUTOSTART" VALUE="-1"><PARAM NAME="SHUFFLE" VALUE="0"><PARAM NAME="PREFETCH" VALUE="0"><PARAM NAME="NOLABELS" VALUE="0"><PARAM NAME="SRC" VALUE="<%=strUrl%>"><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"></OBJECT><BR>
<OBJECT height=60 width=533 classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA><PARAM NAME="_ExtentX" VALUE="7938"><PARAM NAME="_ExtentY" VALUE="1588"><PARAM NAME="AUTOSTART" VALUE="0"><PARAM NAME="SHUFFLE" VALUE="0"><PARAM NAME="PREFETCH" VALUE="0"><PARAM NAME="NOLABELS" VALUE="0"><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"></OBJECT>
<%
End Function
Function ShowKanKanPlayer(strUrl)
%>
<iframe src='<%=strUrl%>'' frameborder='0' width='563' height='393'></iframe>
<%
End Function
Function ShowSwfPlayer(strUrl)
%>
<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=320 width=440 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553544000><PARAM NAME="_cx" VALUE="12674"><PARAM NAME="_cy" VALUE="10636"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="<%=strUrl%>"<PARAM NAME="Src" VALUE="<%=strUrl%>"<PARAM NAME="WMode" VALUE="Window"><PARAM NAME="Play" VALUE="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE=""><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"><PARAM NAME="AllowFullScreen" VALUE="false">
><embed src="<%=strUrl%>" pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width=480 height=330></embed></OBJECT>
<%
End Function
Function ShowFlvPlayer(strUrl)
%>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553544000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="440" height="320">
<param name="movie" value="Flvplayer.swf">
<param name="quality" value="high">
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="vcastr_file=<%=strUrl%>&LogoText=www.SHiove.com&BufferTime=3" />
<embed src="Flvplayer.swf" allowFullScreen="true" FlashVars="vcastr_file=<%=strUrl%>&LogoText=www.SHiove.com" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="440" height="320"></embed>
</object>
<%
End Function
Function ShowP2PPlayer(strUrl)
%>
<SCRIPT LANGUAGE="JavaScript">
	 function CheckPlayer()
	 {
	 var bobo;
	 try
	 {
	 bobo = new ActiveXObject("BOBO_ACTIVEX_V3.BoBo_V3Ctrl.1");
	 if( bobo == null )
	 {
	 window.alert("请安装BoBo P2P多媒体点播/广播/直播控件！");
	 return false;
	 }
	 }
	 catch( e )
	 {
	 window.alert("请安装BoBo P2P多媒体点播/广播/直播控件！");
	 return false;
	 }
	 delete bobo;
	 return true;
	 }
	 CheckPlayer()
	 </SCRIPT>
	 
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0>
              <TBODY>
                <TR>
                  <TD width=563 height=390>
				<object id="WMPObj" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" height="100%" width="100%" viewastext="" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" style="display:none">
                      <param name="URL" value="" />
                      <param name="animationatStart" value="true" />
                      <param name="autoStart" value="true" />
                      <param name="showControls" value="true" />
                    </object>
                    <div id="hg">
                      <embed name=RealObj 
                  src=test.rpm width="100%" height="100%" maintainaspect="true" 
                  controls="ImageWindow" console="one">                     </div></TD>
                </TR><tr><td height="22" valign="bottom">
<object id="BoBo" width="100%" height="22" classid="clsid:EC0978ED-24E3-403C-AB7A-060E388553E6" codebase="http://www.17BoBo.com/Software/BoBo_ActiveX_V3.ocx">
<param name="MaxLinkCount" value="100" />
<param name="MaxCacheTimeS" value="120" />
<param name="MinCacheTimeS" value="60" />
<param name="MaxCacheSizeMB" value="100" />
<param name="MaxDownloadKbps" value="800" />
<param name="MaxUploadKbps" value="500" />
<param name="RealMediaType" value=".mp4,.mp3" />
<param name="AllowDrag" value="1" />
<param name="ActName" value="<%=strUrl%>" />
</object></td></tr></TBODY></TABLE> 
<%
End Function
%>