在视频前加播广告的程序
,新手,求在视频前加播广告的程序最好有源代码,和实例。
------解决方案--------------------http://www.jb51.net/article/4871.htm
试试
------解决方案--------------------
<!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=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>无标题文档</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
<DIV id="Image1" style="HEIGHT: 93%; POSITION: absolute; TOP: 21pix; Left: 8pix; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 2;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width=100% height=100%>
<param name="movie" value="buff.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="buff.swf" width=100% height=100% quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed></object>
</DIV>
<DIV id="MP1" style="HEIGHT: 100%; POSITION: relative; TOP: 0px; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 1;">
<object id="mPlayer" width="100%" height="100%" type="application/x-oleobject" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CodeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" Standby="加载 Microsoft Windows Media Player 组件..." VIEWASTEXT>
<PARAM NAME="FILENAME" value="address.asp?num=<%=s%>&id=<%=id%>">
<PARAM NAME="ShowControls" VALUE="false">
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="Enabled" VALUE="true">
<PARAM NAME="EnableContextMenu" VALUE="true">
<PARAM NAME="ClickToPlay" VALUE="false">
<PARAM NAME="stretchToFit" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="True">
<PARAM NAME="AllowChangeDisplaySize" VALUE="true">
<PARAM NAME="Volume" VALUE="0">
<PARAM NAME="SendOpenStateChangeEvents" VALUE="True">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AnimationAtStart" VALUE="false">
<PARAM NAME="Balance" VALUE="-600">
<PARAM NAME="BaseURL" VALUE="">
<PARAM NAME="CaptioningID" VALUE="">
<PARAM NAME="CursorType" VALUE="32512">
<PARAM NAME="CurrentMarker" VALUE="0">
<PARAM NAME="DefaultFrame" VALUE="">
<PARAM NAME="DisplayMode" VALUE="1">
<PARAM NAME="DisplaySize" VALUE="4">