<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[小宇飞刀的BLOG]]></title> 
<link>http://vir.jxstnu.edu.cn/xieyunc/index.php</link> 
<description><![CDATA[小宇的网上家园 飞刀的技术博客]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[小宇飞刀的BLOG]]></copyright>
<item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?284</link>
<title><![CDATA[【三九智慧】一卡通接口的Delphi封装与测试]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Thu, 27 May 2010 10:02:14 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?284</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;最近学校正在上一卡通项目，中标单位是广东智慧电子的智慧一卡通信息管理系统，由于要和原有的各种应用系统进行无缝对接，故必须针对一卡通进行接口进行二次开发。<br/>&nbsp;&nbsp;&nbsp;&nbsp;因为原有的很多应用系统是用Delphi开发的，因此，为了方便开发我把一卡通的VC++接口封装为Delphi的模式。在封装的过程中有几个细节需要特别注意：<br/>&nbsp;&nbsp;&nbsp;&nbsp;1.接口函数必须采用stdcall调用模式；<br/>&nbsp;&nbsp;&nbsp;&nbsp;2.必须把C++中的char *类型转换为pchar；<br/>&nbsp;&nbsp;&nbsp;&nbsp;3.int &转换为pointer类型，在调用时先定义一个Integer类型的变量如iMoney，用@iMoney取得返回的整型数值；<br/>&nbsp;&nbsp;&nbsp;&nbsp;4.返回值很多都是定长的字符串数据，应注意删除不必要的前后空格。<br/><textarea name="code" class="delphi" rows="15" cols="100">
unit u999CardIntf;
//三九智慧一卡通接口的Delphi封装&nbsp;&nbsp;by xieyunc 2010.5.27
interface
//1）&nbsp;&nbsp;打开串口
function IniCom(ComPort,BaudRate:Integer):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'IniCom';
//2）&nbsp;&nbsp;关闭串口
function CloseCom(ComPort:Integer):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'CloseCom';
//3）&nbsp;&nbsp;读取个人基本信息
function ReadPersonalInfo(ComPort:Integer;Name,buffer:PChar):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'ReadPersonalInfo';
//4）&nbsp;&nbsp;读取卡基本信息
function ReadCardInfo(ComPort:Integer;CarNum,CarNum1,CardID:PChar;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CardType:Pointer;ExpireDay:PChar):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'ReadCardInfo';
//5）&nbsp;&nbsp;读电子钱包信息
function ReadCard(ComPort:Integer;CarNum,CarNum1,Password,CardID,Name:PChar;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Money:Pointer):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'ReadCard';
//6）&nbsp;&nbsp;读电子钱包信息并声音提示刷卡
function ReadCardBeep(ComPort:Integer;CarNum,CarNum1,Password,CardID,Name:PChar;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Money:Pointer):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'ReadCardBeep';
//7）&nbsp;&nbsp;扣卡金额
function DecCard (ComPort:Integer;CardNum:PChar;DecMoney:Pointer):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'DecCard';
//8）&nbsp;&nbsp;显示字符串
function Display(ComPort:Integer;XSbuffer:PChar;DelayTime:Integer):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'Display';
//9）&nbsp;&nbsp;用户显示金额
function DisplayMoney(ComPort:Integer;Money:Pointer):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'DisplayMoney';
//10）&nbsp;&nbsp;读用户自定义信息(如借书证号)
function ReadLiberyNum(ComPort:Integer;ThirdInfo:PChar):Integer;stdcall;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;external 'SmartCom411SFJ.dll' name 'ReadLiberyNum';

implementation

end.
</textarea><br/>测试界面：<br/><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=55" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=55" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>全部文档：<br/><a href="attachment.php?fid=56">点击这里下载文件</a>
]]>
</description>
</item><item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?283</link>
<title><![CDATA[自制的小工具软件----鼠标取色器]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Wed, 28 Apr 2010 15:48:31 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?283</guid> 
<description>
<![CDATA[ 
	自已在制作网页时经常会觉得有些站点的配色非常好，想用之！但不知其颜色值，查看源文件往往是引入外部CSS，要一个一个找很麻烦。于是就有了这个小工具----鼠标取色器！<br/><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=52" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=52" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>Exe及源文件下载：<a href="attachment.php?fid=53">点击这里下载文件</a>
]]>
</description>
</item><item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?250</link>
<title><![CDATA[MsSQL通用数据库创建程序（源码+Demo+Exe）]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Sun, 04 Jan 2009 04:30:37 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?250</guid> 
<description>
<![CDATA[ 
	简介：这是一个Microsoft SQL Server 2000/2005/2008的通用数据库创建程序，它可以让我们制作的应用程序的分发和部置更显专业化。功能：&nbsp;&nbsp;1、可自动创建任意SQL数据库；&nbsp;&nbsp;2、可由用户自定义数据库的存放路径；&nbsp;&nbsp;3、可由用户自定义数据库用户名及密码；&nbsp;&nbsp;4、可在建库时按需初始化数据；&nbsp;&nbsp;使用方法：&nbsp;&nbsp;1、Create_db_Set.ini文件的配置，有详细注解，一看就应明白。......<br/>............<br/>
]]>
</description>
</item><item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?239</link>
<title><![CDATA[WebPlayer9电影整站系统第三方电影批量添加工具]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Mon, 17 Nov 2008 13:37:46 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?239</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;Webplayer9是一个非常优秀的P2P电影点播系统，速度一流，拖动无任何延时，是做高清影片点播系统的绝对一流的选择。只是它自身带的批量电影添加工具实在不好用，这么优秀的系统如果因为这一个缺憾而放弃的话，岂不太可惜了。于是有了下面这个工具。<br/><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=33" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=33" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>　　这是一个专为WebPlayer9电影整站系统而设计的电影批量添加程序！相对于WebPlayer9自<br/>带的批量添加程序增加了如下功能：<br/><br/>1、自动处理所有的电影分类名称和文件夹名称相同的影片。<br/>2、自动处理影片文件夹中的图片文件和Txt文件作为影片的预览图和简介。<br/>3、修正了原WebPlayer9自带的工具会重复添加电影的BUG。<br/><br/>&nbsp;&nbsp; <br/>注：请把本工具放在WebPlayer整站系统的安装目录中，即与MyWeb为平行目录！<br/><br/>&nbsp;&nbsp; 影片的目录结构应与你WebPlayer整站系统中的影片分类一致！如下图：<br/>F:&#92;vod对应你的点播服务中的虚拟目录Movie1，电影频道、电视剧场为电影大类，枪战片、剧<br/>情片等为大类下的影片分类。<br/><br/>F:&#92;vod&#92;电影频道&#92;枪战片&#92;无间道&#92;无间道CD1.rmvb<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;无间道CD2.rmvb<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;简介.txt(文件名无关紧要，关键必须是txt或csv格式)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;无间道.jpg(文件名无关紧要，关键必须是jpg,gif,bmp或png格式)<br/>.....<br/><br/>F:&#92;vod&#92;电视剧场&#92;剧情片&#92;心花放&#92;心花放1.rmvb<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;心花放2.rmvb<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;心花放2.rmvb<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;心花放2.rmvb<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;心花放2.rmvb<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;....<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;简介.txt(文件名无关紧要，关键必须是txt或csv格式)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;心花放.jpg(文件名无关紧要，关键必须是jpg,gif,bmp或png格式)<br/>.....<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br/>程序下载：<a href="attachment.php?fid=34">点击这里下载文件</a><br/>　　　　　　　　　　　　　　　　　　　　　　　　　　　　　---Powered by xieyunc<br/>　　　　　　　　　　　　　　　　　　　　　　　　　　　　　2008-11-10 @NanChang<br/>&nbsp;&nbsp; <br/><br/>Tags - <a href="http://vir.jxstnu.edu.cn/xieyunc/tag.php?tag=webplayer9" rel="tag">webplayer9</a> , <a href="http://vir.jxstnu.edu.cn/xieyunc/tag.php?tag=%25E6%2589%25B9%25E9%2587%258F%25E6%25B7%25BB%25E5%258A%25A0%25E7%2594%25B5%25E5%25BD%25B1" rel="tag">批量添加电影</a>
]]>
</description>
</item><item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?231</link>
<title><![CDATA[教材管理系统紧张开发中]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Fri, 31 Oct 2008 02:43:31 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?231</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;教材管理系统紧张开发中，系统也许不大，可是业务比较复杂、交叉性很强，教学计划、课程代码、教材、供货商、分校点、系部、教师、学生、库存、盘点、结算、数据采集、征订、订购、分发、收费一个都不能少！既有C/S三层又有Web模式，痛苦ing.......<br/>&nbsp;&nbsp;&nbsp;&nbsp;WebService服务模式：<br/>&nbsp;&nbsp;&nbsp;&nbsp;数据库平台：MS SQL2000 <br/>&nbsp;&nbsp;&nbsp;&nbsp;服务端：COM+加WebService<br/>&nbsp;&nbsp;&nbsp;&nbsp;客户端：CS模式+Web模式<br/>&nbsp;&nbsp;&nbsp;&nbsp;服务器基本完成，CS客户端完成75%左右，Web端50%左右。<br/>&nbsp;&nbsp;&nbsp;&nbsp;上个图先：<br/><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=24" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=24" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=25" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=25" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=26" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=26" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=27" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=27" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>上面是服务端的部分截图，下面是客户端的：<br/><br/><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=28" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=28" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=29" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment.php?fid=29" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><a href="http://vir.jxstnu.edu.cn/xieyunc/attachment/1226072550_43931604.gif" target="_blank"><img src="http://vir.jxstnu.edu.cn/xieyunc/attachment/1226072550_43931604.gif" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0" width="521"/></a><br/>Tags - <a href="http://vir.jxstnu.edu.cn/xieyunc/tag.php?tag=%25E6%2595%2599%25E6%259D%2590%25E7%25AE%25A1%25E7%2590%2586%25E7%25B3%25BB%25E7%25BB%259F" rel="tag">教材管理系统</a>
]]>
</description>
</item><item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?189</link>
<title><![CDATA[SOAP/Web Service学习笔记]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Mon, 07 Apr 2008 01:31:34 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?189</guid> 
<description>
<![CDATA[ 
	一、什么是SOAP和Web Service<br/>　　简单地说，SOAP就是定义了如何交换类型和具有结构的信息，它是一个Wire Protocol并且使用XML做　为封装信息的标准。而Web Service则是使用SOAP做为通信的标准，并且提供外界标准的服务接口以便让各种客户端应用程序能够通过SOAP调服务接口，进而使用Web Service提供的功能。<br/><br/>二、要完成不同的Internet/Intranet应用系统的集成工作，必须解决下列问题。<br/>1、标准的数据交换技术，即XML。<br/>2、如何封装调用的服务，即SOAP。例如Linux提供了各种服务，那么远端的ASP如何封装服务的调用？如何封装传递的参数？如何传递简单类型的参数，例如字符串和整型值？又如何封装复杂的数据类型，例如记录数据、影像数据、图像数据等？<br/>3、使用什么实体沟通通信协议？当前主要有HTTP/HTTPS、IIOP（CORBA厂商）、SMTP（未来最有希望）。<br/>4、Internet/Intranet应用系统如何约定彼此提供的服务？这就是Web Service提供的功能。<br/>5、不同的Internet/Intranet应用系统又如何找到它需要的服务？UDDI（Universal Description Discovery and Integration）。<br/>6、服务是由什么技术来实现的？Delphi 6/7/8/9/10等等都可以。<br/><br/>Tags - <a href="http://vir.jxstnu.edu.cn/xieyunc/tag.php?tag=soap" rel="tag">soap</a> , <a href="http://vir.jxstnu.edu.cn/xieyunc/tag.php?tag=web" rel="tag">web</a> , <a href="http://vir.jxstnu.edu.cn/xieyunc/tag.php?tag=service" rel="tag">service</a>
]]>
</description>
</item><item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?164</link>
<title><![CDATA[常用网页播放器代码]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Sat, 26 Jan 2008 16:31:20 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?164</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;我们在网页上看到的播放器无外乎WMP/RealOne/Macromedia Flash Player,其他的无非是面板不同，或者添加了其他控件，对于计算机上安装的一些播放器也都是编码和解码器的整合，其最核心的编码和解码技术是相同的。例如：网络上最流行的windows media流(asf,wma,wmv格式...)，Real流(rm,rmvb...)，还有MPEG系列编码格式(MP4/MP3格式...) <br />Windows Media Video 是微软推出的一种流媒体格式，它是在&ldquo;同门&rdquo;的ASF（Advanced Stream Format）格式升级延伸来得.在同等视频质量下，WMV格式的体积非常小，因此很适合在网上播放和传输。Windows Media Player9兼容所有格式的WMV,官方编码器是Windows Media Encoder ，但是如果你想转制 高质量的wmv文件，那您一定要有超大的内存来处理数据... <br />无意中发现CASTPOST的播放器可以自己定义大小，对于WMV格式的在线播放可以说已经足够快了,然后就费了好大劲把一些精彩的短片和一些经典的MTV转化WMV格式放了上来,尽管现在不能下载了，但是只要不是连接人数过多，播放起来还是很流畅的^_^ <br /><br />WMP加入了ActiveX解码器控件，不仅可以放曲子，还能放Flash和其它视频文件 <br />&lt;object align=middle classid=&quot;CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95&quot; class=OBJECT id=MediaPlayer width=196 height=196&gt; <br />&lt;param name=ShowStatusBar value=0&gt; <br />&lt;param name=Filename value=&quot;</span><a href="http://202.116/" target="_blank"><span style="font-size: x-small; color: #000000"><a href="http://202.116" target="_blank">http://202.116</a></span></a><span style="font-size: x-small">.*.*/video/story/chinese/hynh/b.wmv&quot;&gt; <br />&lt;embed type=application/x-oleobject codebase=&quot;</span><a href="http://activex.microsoft.com/activex/con" target="_blank"><span style="font-size: x-small; color: #000000"><a href="http://activex.microsoft.com/activex/con" target="_blank">http://activex.microsoft.com/activex/con</a></span></a><span style="font-size: x-small"> ... n/nsmp2inf.cab#Version=5,1,52,701&quot; &gt; <br />&lt;/embed&gt; <br />&lt;/object&gt; <br />想用WMP连续播放请参照ASX元文件使用讲解：使用ASX播放列表吧 <br /><br />上面的这个播放器是老式的那种，6.4版本！新式播放器是在MediaPlayer9.0以后出现的，也就是说只有装了9.0或9.0以上的播放器才能正常使用的。 <br /><br /><br />下面是新式播放器代码，相对以前的来说要简单很多： <br />&lt;object id=&quot;player&quot; height=&quot;64&quot; width=&quot;260&quot; classid=&quot;CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6&quot;&gt; <br />&lt;param NAME=&quot;AutoStart&quot; VALUE=&quot;-1&quot;&gt; <br />&lt;!--是否自动播放--&gt; <br />&lt;param NAME=&quot;Balance&quot; VALUE=&quot;0&quot;&gt; <br />&lt;!--调整左右声道平衡,同上面旧播放器代码--&gt; <br />&lt;param name=&quot;enabled&quot; value=&quot;-1&quot;&gt; <br />&lt;!--播放器是否可人为控制--&gt; <br />&lt;param NAME=&quot;EnableContextMenu&quot; VALUE=&quot;-1&quot;&gt; <br />&lt;!--是否启用上下文菜单--&gt; <br />&lt;param NAME=&quot;url&quot; value=&quot;/blog/1.wma&quot;&gt; <br />&lt;!--播放的文件地址--&gt; <br />&lt;param NAME=&quot;PlayCount&quot; VALUE=&quot;1&quot;&gt; <br />&lt;!--播放次数控制,为整数--&gt; <br />&lt;param name=&quot;rate&quot; value=&quot;1&quot;&gt; <br />&lt;!--播放速率控制,1为正常,允许小数,1.0-2.0--&gt; <br />&lt;param name=&quot;currentPosition&quot; value=&quot;0&quot;&gt; <br />&lt;!--控件设置:当前位置--&gt; <br />&lt;param name=&quot;currentMarker&quot; value=&quot;0&quot;&gt; <br />&lt;!--控件设置:当前标记--&gt; <br />&lt;param name=&quot;defaultFrame&quot; value=&quot;&quot;&gt; <br />&lt;!--显示默认框架--&gt; <br />&lt;param name=&quot;invokeURLs&quot; value=&quot;0&quot;&gt; <br />&lt;!--脚本命令设置:是否调用URL--&gt; <br />&lt;param name=&quot;baseURL&quot; value=&quot;&quot;&gt; <br />&lt;!--脚本命令设置:被调用的URL--&gt; <br />&lt;param name=&quot;stretchToFit&quot; value=&quot;0&quot;&gt; <br />&lt;!--是否按比例伸展--&gt; <br />&lt;param name=&quot;volume&quot; value=&quot;50&quot;&gt; <br />&lt;!--默认声音大小0%-100%,50则为50%--&gt; <br />&lt;param name=&quot;mute&quot; value=&quot;0&quot;&gt; <br />&lt;!--是否静音--&gt; <br />&lt;param name=&quot;uiMode&quot; value=&quot;mini&quot;&gt; <br />&lt;!--播放器显示模式:Full显示全部;mini最简化;None不显示播放控制,只显示视频窗口;invisible全部不显示--&gt; <br />&lt;param name=&quot;windowlessVideo&quot; value=&quot;0&quot;&gt; <br />&lt;!--如果是0可以允许全屏,否则只能在窗口中查看--&gt; <br />&lt;param name=&quot;fullScreen&quot; value=&quot;0&quot;&gt; <br />&lt;!--开始播放是否自动全屏--&gt; <br />&lt;param name=&quot;enableErrorDialogs&quot; value=&quot;-1&quot;&gt; <br />&lt;!--是否启用错误提示报告--&gt; <br />&lt;param name=&quot;SAMIStyle&quot; value&gt; <br />&lt;!--SAMI样式--&gt; <br />&lt;param name=&quot;SAMILang&quot; value&gt; <br />&lt;!--SAMI语言--&gt; <br />&lt;param name=&quot;SAMIFilename&quot; value&gt; <br />&lt;!--字幕ID--&gt; <br />&lt;/object&gt; <br /><br /><br />-------------------------------------------------------------------------------- <br /><br /><br />RealOne播放器代码： <br />&lt;object id=&quot;vid&quot; classid=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&quot; width=427 height=300&gt; <br />&lt;param name=&quot;_ExtentX&quot; value=&quot;11298&quot;&gt; <br />&lt;param name=&quot;_ExtentY&quot; value=&quot;7938&quot;&gt; <br />&lt;param name=&quot;AUTOSTART&quot; value=&quot;-1&quot;&gt; <br />&lt;param name=&quot;SHUFFLE&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;PREFETCH&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;NOLABELS&quot; value=&quot;-1&quot;&gt; <br />&lt;param name=&quot;SRC&quot; value=&quot;</span><a href="rtsp://211.89.225.1/encoder/cnr3&quot;;&gt;" target="_blank"><span style="font-size: x-small; color: #000000"><a href="rtsp://211.89.225.1/encoder/cnr3&quot;;&gt;" target="_blank">rtsp://211.89.225.1/encoder/cnr3&quot;;&gt;</a></span></a><span style="font-size: x-small"> <br />&lt;param name=&quot;CONTROLS&quot; value=&quot;Imagewindow&quot;&gt; <br />&lt;param name=&quot;CONSOLE&quot; value=&quot;clip1&quot;&gt; <br />&lt;param name=&quot;LOOP&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;NUMLOOP&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;CENTER&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;MAINTAINASPECT&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;BACKGROUNDCOLOR&quot; value=&quot;#000000&quot;&gt; <br />&lt;/object&gt; &lt;object id=&quot;vid2&quot; classid=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&quot; width=427 height=30&gt; <br />&lt;param name=&quot;_ExtentX&quot; value=&quot;11298&quot;&gt; <br />&lt;param name=&quot;_ExtentY&quot; value=&quot;794&quot;&gt; <br />&lt;param name=&quot;AUTOSTART&quot; value=&quot;-1&quot;&gt; <br />&lt;param name=&quot;SHUFFLE&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;PREFETCH&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;NOLABELS&quot; value=&quot;-1&quot;&gt; <br />&lt;param name=&quot;SRC&quot; value=&quot;</span><a href="rtsp://211.89.225.1/encoder/cnr3&quot;;&gt;" target="_blank"><span style="font-size: x-small; color: #000000"><a href="rtsp://211.89.225.1/encoder/cnr3&quot;;&gt;" target="_blank">rtsp://211.89.225.1/encoder/cnr3&quot;;&gt;</a></span></a><span style="font-size: x-small"> <br />&lt;param name=&quot;CONTROLS&quot; value=&quot;ControlPanel&quot;&gt; <br />&lt;param name=&quot;CONSOLE&quot; value=&quot;clip1&quot;&gt; <br />&lt;param name=&quot;LOOP&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;NUMLOOP&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;CENTER&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;MAINTAINASPECT&quot; value=&quot;0&quot;&gt; <br />&lt;param name=&quot;BACKGROUNDCOLOR&quot; value=&quot;#000000&quot;&gt; <br />&lt;/object&gt; <br /><br />-------------------------------------------------------------------------------- <br /><br />看着很多很复杂的样子，其实就是多了些播放器参数，可以不要... <br />Real Player 网页播放器 参数含义 <br /><br />参数：autostart 属性：True或是False 作用：指定是否自动播放指定的源文件 <br />参数：backgroundcolor 属性：任何用符号&ldquo;#&rdquo;开头的16进制数值或是任何预定义的颜色作用：指定图像窗口的背景颜色 <br />参数：center 属性：True或是False 作用：指定片断使用初始编码大小播放，并且在图像窗口的中央。 <br />参数：classid 属性：&quot;clsid：CFCDAA03-8BE4-1lcf-B84B0020AFBBCCFA:** 作用：用于指定ActiveX控件的唯一的字符串标示，可以认出嵌入的RealPalyer播放器。 <br />参数：console 属性：任何字符串作用：可以将各种不同的RealPlayer控制聚集在网页上，这样它们可以交互使用或是保持独立，而且互相不影响 <br />参数：controls 属性：ImageWindow，All，ControlPanel，PlavButton，PlayOnlyButton， PauseButton,StopButton，FFCtrl，RWCtrl，MuteCtrl，MuteVolume，VolumeSlider，PositionSlider,TACCtrl，HomeCtrl，InfoVolumePanel，InfoPanel，StatusBar，StatusField，PositionField 作用：可以让你指定那些控制是可见的。 <br />参数：height 属性：任何整数值作用：指定RealPlayer元素的高度，单位:像素 <br />参数：id 属性：任何字符串作用：为标签中的RealPlayer元素指定名字。 <br />参数：imagestatus 属性：True或是False 作用：指定是否在图像窗口中显示状态信息，默认值是true <br />参数：loop 属性：True或是False 作用：可以让你指定片断是否无限循环 <br />参数：maintainaspect 属性：True或是False 作用：默认RealPlayer拉伸所有的片断来充满整个图像窗口。 <br />参数：name 属性：任何字符串作用：为标签中的RealPlayer元素指定名字(在标签中使用id) <br />参数：nojava 属性：True或是False 作用：避免启动Java虚拟机 <br />参数：nolabels 属性：True或是False 作用：可以禁止显示标题或是版权信息(realplayer5.0以上时，它是垃圾...) <br />参数：nologo 属性：True或是False 作用：避免RealPlayer启动时在图像窗口中显示 <br />参数：numloop 属性：任何整数值作用：让你能够指定文件片循环的次数，不需要参数loop <br />参数：prefetch 属性：True或是False 作用：指定在播放前，RealPlayer是否可以获得流描述信息，默认值是False <br />参数：region 属性：任何字符串作用：同SMIL一起使用。允许你指定使用HTML代替SMIL <br />参数：scriptcallbacks 属性：用逗号分割的列表作用：指定浏览器的回调监控（好高级的东东！） <br />参数：shuffle 属性：True或是False 作用：同多文件片的ram文件或是SMIL文件一起使用。可以让RealPlayer随机播放列表中的文件 <br />参数：src 属性：任何合法的相对或是完整的URL 作用：指定播放的文件或是源文件的地址 <br />参数：type 属性：字符串作用：为嵌入插件指定MIME类型 <br />参数：width 属性：任何整数值作用：指定RealPlayer元素的宽度 <br /></span><p><table border="0" cellspacing="0" cellpadding="0" width="100%" style="table-layout: fixed; word-wrap: break-word"><tbody><tr><td valign="top"><div id="show4515" class="postcontent"><span style="font-size: x-small">RealPlayer的一些函数、方法和过程 <br /><br />这是 Real Player ActiveX Control Library (Version 1.0) 的所有函数与方法，有兴趣可以研究一下。 <br /><br />function GetSource: WideString; <br />procedure SetSource(const lpszNewValue: WideString); <br />function GetConsole: WideString; <br />procedure SetConsole(const lpszNewValue: WideString); <br />function GetControls: WideString; <br />procedure SetControls(const lpszNewValue: WideString); <br />function GetNoLabels: WordBool; <br />procedure SetNoLabels(bNewValue: WordBool); <br />function GetAutoStart: WordBool; <br />procedure SetAutoStart(bNewValue: WordBool); <br />function GetAutoGotoURL: WordBool; <br />procedure SetAutoGotoURL(bNewValue: WordBool); <br />function GetVolume: Smallint; <br />procedure SetVolume(nVol: Smallint); <br />function GetMute: WordBool; <br />procedure SetMute(bMute: WordBool); <br />function GetLoop: WordBool; <br />procedure SetLoop(bVal: WordBool); <br />function GetImageStatus: WordBool; <br />procedure SetImageStatus(bEnable: WordBool); <br />function GetPacketsTotal: Integer; <br />function GetPacketsReceived: Integer; <br />function GetPacketsOutOfOrder: Integer; <br />function GetPacketsMissing: Integer; <br />function GetPacketsEarly: Integer; <br />function GetPacketsLate: Integer; <br />function GetBandwidthAverage: Integer; <br />function GetBandwidthCurrent: Integer; <br />procedure DoPlayPause; <br />procedure DoStop; <br />procedure DoNextItem; <br />procedure DoPrevItem; <br />function CanPlayPause: WordBool; <br />function CanStop: WordBool; <br />function HasNextItem: WordBool; <br />function HasPrevItem: WordBool; <br />function HasNextEntry: WordBool; <br />function HasPrevEntry: WordBool; <br />procedure DoNextEntry; <br />procedure DoPrevEntry; <br />procedure AboutBox; <br />procedure EditPreferences; <br />procedure HideShowStatistics; <br />function IsStatisticsVisible: WordBool; <br />procedure DoGotoURL(const url: WideString; const target: WideString); <br />procedure DoPlay; <br />procedure DoPause; <br />function GetPosition: Integer; <br />function GetPlayState: Integer; <br />function GetLength: Integer; <br />function GetTitle: WideString; <br />function GetAuthor: WideString; <br />function GetCopyright: WideString; <br />function GetClipWidth: Integer; <br />function GetClipHeight: Integer; <br />function CanPlay: WordBool; <br />function CanPause: WordBool; <br />procedure SetPosition(lPosition: Integer); <br />function GetNumLoop: Integer; <br />procedure SetNumLoop(lVal: Integer); <br />function GetCenter: WordBool; <br />procedure SetCenter(bVal: WordBool); <br />function GetNoLogo: WordBool; <br />procedure SetNoLogo(bVal: WordBool); <br />function GetMaintainAspect: WordBool; <br />procedure SetMaintainAspect(bVal: WordBool); <br />function GetBackgroundColor: WideString; <br />procedure SetBackgroundColor(const pVal: WideString); <br />function GetStereoState: WordBool; <br />function GetLiveState: WordBool; <br />function GetShowStatistics: WordBool; <br />procedure SetShowStatistics(bVal: WordBool); <br />function GetShowPreferences: WordBool; <br />procedure SetShowPreferences(bVal: WordBool); <br />function GetShowonmouseover WordBool; <br />procedure SetShowAbout(bVal: WordBool); <br />function GetOriginalSize: WordBool; <br />procedure SetOriginalSize; <br />function GetDoubleSize: WordBool; <br />procedure SetDoubleSize; <br />function GetFullScreen: WordBool; <br />procedure SetFullScreen; <br />function GetEnableContextMenu: WordBool; <br />procedure SetEnableContextMenu(bVal: WordBool); <br />function GetEnableOriginalSize: WordBool; <br />procedure SetEnableOriginalSize(bVal: WordBool); <br />function GetEnableDoubleSize: WordBool; <br />procedure SetEnableDoubleSize(bVal: WordBool); <br />function GetEnableFullScreen: WordBool; <br />procedure SetEnableFullScreen(bVal: WordBool); <br />function GetEnableMessageBox: WordBool; <br />procedure SetEnableMessageBox(bVal: WordBool); <br />procedure SetTitle(const pVal: WideString); <br />procedure SetAuthor(const pVal: WideString); <br />procedure SetCopyright(const pVal: WideString); <br />function GetWantKeyboardEvents: WordBool; <br />procedure SetWantKeyboardEvents(bWantsEvents: WordBool); <br />function GetWantMouseEvents: WordBool; <br />procedure SetWantMouseEvents(bWantsEvents: WordBool); <br />function GetNumEntries: Smallint; <br />function GetCurrentEntry: Smallint; <br />function GetEntryTitle(uEntryIndex: Smallint): WideString; <br />function GetEntryAuthor(uEntryIndex: Smallint): WideString; <br />function GetEntryCopyright(uEntryIndex: Smallint): WideString; <br />function GetEntryAbstract(uEntryIndex: Smallint): WideString; <br />procedure SetCanSeek(bCanSeek: WordBool); <br />function GetCanSeek: WordBool; <br />function GetBufferingTimeElapsed: Integer; <br />function GetBufferingTimeRemaining: Integer; <br />function GetConnectionBandwidth: Integer; <br />function GetPreferedLanguageString: WideString; <br />function GetPreferedLanguageID: Integer; <br />function GetUserCountryID: Integer; <br />function GetNumSources: Smallint; <br />function GetSourceTransport(nSourceNum: Smallint): WideString; <br />function GetWantErrors: WordBool; <br />procedure SetWantErrors(bVal: WordBool); <br />function GetShuffle: WordBool; <br />procedure SetShuffle(bVal: WordBool); <br />function GetVersionInfo: WideString; <br />function GetLastMessage: WideString; <br />function GetLastErrorSeverity: Integer; <br />function GetLastErrorRMACode: Integer; <br />function GetLastErrorUserCode: Integer; <br />function GetLastErrorUserString: WideString; <br />function GetLastErrorMoreInfoURL: WideString; <br />procedure SetPreFetch(bVal: WordBool); <br />function GetPreFetch: WordBool; <br />procedure SetRegion(const pVal: WideString); <br />function GetRegion: WideString; <br />function GetIsPlus: WordBool; <br />function GetConsoleEvents: WordBool; <br />procedure SetConsoleEvents(bVal: WordBool); <br />function GetDRMInfo(const pVal: WideString): WideString; <br />property ControlInterface: IRealAudio read GetControlInterface; <br />property DefaultInterface: IRealAudio read GetControlInterface; <br /></span></div></td></tr></tbody></table></p><p><span style="font-size: x-small">网页中wmp视频控制之使用指南 <br /><br />//wmplayer.controls.currentPosition = wmplayer.currentMedia.duration * (i / 100) <br />// <br />// <br />// <br />□播放方法和属性 <br />除播放、暂停、停止外，媒体播放器还可用下面的属性： <br />扫描(Scanning)&mdash;&mdash;与录像机的快进快倒功能类似； <br />搜索(Seeking)&mdash;&mdash;直接移到剪辑中标记的特定上演时间； <br /><br />□播放 <br />媒体播放器提供了两种技术来指定要播放的媒体名称(剪辑)，你可以设置 FileName 属性，或调用 Open 方法。 如果 AutoStart 属性的值是 true 的话，当 FileName 属性被设置成该电影剪辑的 URL 后，该电影剪辑将开始播放；否则电影剪辑不会开始播放， 除非你调用 Play 方法。 Open 方法开始播放是异步的，它不象 Play 方法要等到其他的进程结束后才开始播放。 <br />媒体播放器提供了下面的类似录像机的属性和方法来控制流媒体的播放： <br />Play、Stop、Pause 方法，来开始、停止、暂停流媒体。 <br />PlayCount 属性，设置文件播放的次数。 <br />AutoRewind 属性，确定当停止播放时是否返回到电影剪辑的开始部分。 <br /><br />□音频控制 <br />媒体播放器提供了下面的属性来管理音频： <br />Balance 属性，确定左右音箱的声音平衡； <br />Volume 属性，用来加大或降低音量； <br />Mute 属性，用来关闭或打开声音； <br />※你可以将 ShowAudioControls 属性设为 true 来在控制栏添加处理声音的控件。 <br /><br />□扫描 <br />媒体播放器提供了下面的属性用以扫描： <br />FastForward 方法，快进； <br />FastReverse 方法，快倒； <br />Rate属性，改变播放速率； <br />※要想使电影剪辑能被扫描，必须将 CanScan 和 AllowScan 属性设为 true。 <br /><br />□搜索 <br />用于搜索的属性有： <br />MarkerCount 属性，指剪辑中标记的总数量； <br />CurrentMaker、GetMarkerName、GetMarkerTime 方法，用于返回标记信息； <br />MarkerHit 事件，当遇到标记时触发； <br />CurrentPosition 属性，当前位置(用秒度量)，可用来将播放头移到剪辑中指定的点； <br />PositionChange 事件，当设置 CurrentPosition 属性时触发； <br />※要想搜索到任意的时间，必须将 CanSeek 属性设为 true，要想搜索到标记点，必须将 CanSeekToMarkers 属性设为 true。 <br /><br />□媒体播放器的外观界面 <br />在网页中，你可以通过相关属性来控制媒体播放器的哪些部分出现，哪些部分不出现。 <br />媒体播放器包括如下元素： <br />Video Display Panel：视频显示面板； <br />Video Border：视频边框； <br />Closed Captioning Display Panel；字幕显示面板； <br />Track Bar；搜索栏； <br />Control Bar with Audio and Position Controls：带有声音和位置控制的控制栏； <br />Go To Bar：转到栏； <br />Display Panel：显示面板； <br />Status Bar：状态栏； <br />下面的属性用来决定显示哪一个元素： <br />ShowControls 属性：是否显示控制栏（包括播放控件及可选的声音和位置控件）； <br />ShowAudioControls 属性：是否在控制栏显示声音控件（静音按钮和音量滑块）； <br />ShowPositionControls 属性：是否在控制栏显示位置控件（包括向后跳进、快退、快进、向前跳进、预览播放列表中的每个剪辑）； <br />ShowTracker 属性：是否显示搜索栏； <br />ShowDisplay 属性：是否显示显示面板（用来提供节目与剪辑的信息）； <br />ShowCaptioning 属性：是否显示字幕显示面板； <br />ShowGotoBar 属性：是否显示转到栏； <br />ShowStatusBar 属性：是否显示状态栏； <br /><br />□播放列表 <br />媒体播放器提供下面的方法来访问播放列表中的剪辑： <br />Next 方法，跳到节目（播放列表）中的下一个剪辑； <br />Previous 方法，跳回到节目中的上一个剪辑； <br />媒体播放器的一个特性是能够预览节目中的每一个剪辑，使用如下属性： <br />PreviewMode 属性，决定媒体播放器当前是否处于预览模式； <br />CanPreview 属性，决定媒体播放器能否处于预览模式； <br />在windows 媒体元文件中，可以为每一个剪辑指定预览时间&mdash;&mdash;PREVIEWDURATION,如果没有指定，那么默认的预览时间是10秒钟。 <br />你也可以用Windows 媒体元文件来添加 watermarks 与 banners，元文件也支持插入广告时的无间隙流切换。 <br /><br />□节目信息 <br />使用 GetMediaInfoString 方法可以返回相关剪辑或节目的如下信息： <br />文件名：File name <br />标题：Title <br />描述：Description <br />作者：Author <br />版权：Copyright <br />级别：Rating <br />URLs：logo icon、watermark、banner的地址 <br />剪辑信息可以放在媒体文件中，也可以放在Windows 媒体元文件中，或者两者都放。</span></p><p><span style="font-size: x-small">剪辑信息可以放在媒体文件中，也可以放在windows 媒体元文件中，或者两者都放。如果在元文件中指定了剪辑信息，那么用 GetMediaInfoString 方法返回的就是元文件中的信息，而不会返回剪辑中包含的信息。 <br />在元文件中，附加信息可以放置在每一个剪辑或节目的 PARAM标签中。你可以为每个剪辑添加任意多个 PARAM 标签，用来存储自定义的信息或链接到相关站点。在 PARAM 标签中的信息可以通过 GetMediaParameter 方法来访问。 <br />下面的属性返回有关大小和时间的信息： <br />ImageSourceHeight、ImageSourceWidth：返回图像窗口的显示尺寸； <br />Duration 属性，返回剪辑的长度(秒)， 要检测这个属性是否包含有效的数值，请检查IsDurationValid 属性。(对于广播的视频，其长度是不可预知的)。 <br /><br />□字幕 <br />你可以用 .smi 文件来为你的节目添加字幕。媒体播放器支持下面的属性来处理字幕： <br />SAMIFileName 属性，指定 .smi 文件的名字； <br />SAMILang 属性，指定字幕的语言(如果没有指定则使用第一种语言)； <br />SAMIStyle 属性，指定字幕的文字大小和样式； <br />ShowCaptioning 属性，决定是否显示字幕显示面板； <br /><br />□脚本命令 <br />伴随音频、视频流，你可以在流媒体文件中加入脚本命令。脚本命令是多媒体流中与特定时间同步的多对Unicode串。第一个串标识待发命令的类型，第二个串指定要执行的命令。 <br />当流播放到与脚本相关的时间时，控件会向网页发送一个 scriptCommand事件，然后由事件处理进程来响应这个事件。脚本命令字符串会作为脚本命令事件的参数传递给事件处理器。 <br />媒体播放器会自动处理下面类型的内嵌脚本命令： <br />1)URL型命令：当媒体播放器控件收到一个URL型的命令时，指定的URL会被装载到用户的默认浏览器。如果媒体播放器嵌在一个分帧的HTML文件中，URL页可以装载到由脚本命令指定的帧内。如果脚本命令没有指定一个帧，将由 DefaultFrame 属性决定将 URL 页装入哪一帧。 <br />你可以通过设置 InvokeURLs 属性来决定是否自动处理 URL 型的脚本命令。如果这个属性的值为 false ，媒体播放器控件将忽视 URL型命令。但是脚本命令事件仍会触发，这就允许你有选择地处理 URL 型命令。 <br />URL 型命令指定的是 URL 的相对地址。基地址是由 BaseURL属性指定的。媒体播放器控件传送的脚本命令事件的命令参数是链接好的地址。 <br />2)FILENAME型命令：当媒体播放器控件收到一个FILENAME型的命令时，它将 FileName属性设置为脚本命令提供的文件，之后媒体播放器会打开这个文件开始播放。 媒体播放器控件总是自动处理 FILENAME 型命令，不象 URL 型命令，它们不能被禁止。 <br />3)TEXT型命令：当媒体播放器控件收到一个 TEXT型的命令时，它会将命令的内容显示在控件的字幕窗口。内容可以是纯文本的，也可以是 HTML。 <br />4)EVENT型命令：当媒体播放器控件收到一个 EVENT型的命令时，它会在媒体元文件中搜索 EVENT 元素的 NAME 属性。如果 NAME 属性与脚本命令中的第二个字符串匹配，媒体播放器控件就执行包含在 EVENT 元素中的条目。 <br />5)OPENEVENT型命令：当媒体播放器控件收到一个 OPENEVENT型的命令时，它会在媒体元文件中检查 EVENT 元素，并打开匹配的标题，但不播放，直到收到来自 EVENT型命令的同名真实事件。 <br /><br />□捕捉键盘和鼠标事件 <br />EnableContextMenu 与 ClickToPlay 属性为用户提供了在图像窗口进行操作的方法。 <br />如果 EnableContextMenu 属性为 true ，在图像窗口右击鼠标可以打开关联菜单，如果将ClickToPlay 属性设为 true ，用户可以单击图像窗口进行播放与暂停的切换。 <br />要接收鼠标移动和单击事件，请将 SendMouseMoveEvents 和 SendMouseClickEvents 属性设为 true 。鼠标事件有： <br />MouseDown，当用户按下鼠标时产生； <br />MouseUp，当用户释放鼠标时产生； <br />MouseMove，当用户移动鼠标时产生； <br />Click，当用户在媒体播放器上单击鼠标按钮时产生； <br />DbClick，当用户在媒体播放器上双击鼠标按钮时产生； <br />要接收键盘事件，请将 SendKeyboardEvents 属性设为 true 。键盘事件有： <br />KeyDown，当用户按下一个键时产生； <br />KeyUp，当用户释放一个键时产生； <br />KeyPress，当用户按下并释放一个键时产生； <br /><br />□监测流状态与网络链接 <br />流状态属性包括： <br />PlayState：播放状态； <br />OpenState：打开状态； <br />Bandwidth：带宽； <br /></span></p><div id="show4524" class="postcontent"><span style="font-size: x-small">监测流状态与网络链接 <br />流状态属性包括： <br />PlayState：播放状态； <br />OpenState：打开状态； <br />Bandwidth：带宽； <br />支持的事件有： <br />OpenStateChange：打开状态改变(仅当SendOpenStateChangeEvents属性为true时触发) <br />PlayStateChange：播放状态改变(仅当SendPlayStateChangeEvents属性为true时触发) <br />EndOfStream：流结束时触发； <br />NewStream：打开新流时触发； <br />网络接收属性包括： <br />ReceptionQuality：接收质量； <br />ReceivedPackets：已经收到的包； <br />LostPackets：丢失的包； <br />监测缓冲的属性有： <br />BufferingTime：缓冲时间； <br />BufferingCount：缓冲次数； <br />BufferingProgress：缓冲进程； <br />Buffering：缓冲事件； <br /><br />□错误处理 <br />媒体播放器提供了内建的错误处理功能&mdash;&mdash;在对话框或状态栏显示错误信息。 另外，你可以自己添加错误处理程序。如果 SendErrorEvents 属性设置为 true，将不会显示错误框，而是发送错误事件；如果 SendErrorEvents 属性设置为 false，将显示错误框，而是发送错误事件。 <br />媒体播放器支持下面的错误处理事件： <br />Error 事件，指有危险性错误发生； <br />Warning 事件，指发生了非危险性的错误； <br />当你的应用程序接收到一个错误事件，你可以检测下面的属性来确定具体的错误信息： <br />HasError：检测目前的媒体播放器是否有错误； <br />ErrorCode：提供与该类型错误相关的代码值； <br />ErrorDescription：提供错误的描述信息； <br />ErrorCorrection：指定媒体播放器对该类型的错误进行校正； <br /><br />□播放CD <br />媒体播放器将 CD 看作（在每个音轨的开头具有标记的）单一音频流。 要在网页中使用CD，你需要将 FileName 属性设为 CDAUDIO:，必须带有冒号，如下所示： <br />&lt;HTML&gt; <br />&lt;HEAD&gt;&lt;TITLE&gt;CD Audio Playback Example&lt;/TITLE&gt;&lt;/HEAD&gt; <br />&lt;BODY&gt; <br />&lt;OBJECT ID=&quot;MediaPlayer&quot; <br />CLASSID=&quot;CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95&quot; <br />WIDTH=&quot;320&quot; <br />HEIGHT=&quot;508&quot; <br />STYLE=&quot;position:absolute; left:0px; top:70px;&quot; &gt; <br />&lt;PARAM NAME=&quot;FileName&quot; VALUE=&quot;cdaudio:&quot;&gt; <br />&lt;PARAM NAME=&quot;AutoStart&quot; VALUE=&quot;0&quot;&gt; <br />&lt;PARAM NAME=&quot;ShowControls&quot; VALUE=&quot;1&quot;&gt; <br />&lt;PARAM NAME=&quot;ShowStatusBar&quot; VALUE=&quot;1&quot;&gt; <br />&lt;PARAM NAME=&quot;ShowDisplay&quot; VALUE=&quot;1&quot;&gt; <br />&lt;/OBJECT&gt; <br />&lt;/BODY&gt; <br />&lt;/HTML&gt; <br /><br />//////////////////////////////////////////////////////////// <br />&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92;&#92; <br /><br />WMP、Real 的方法、事件和属性都很多，这里只列出一些常用同时又是最基本与重要的方法及属性。学习制作网页播放器必须首先熟练掌控她们！ <br /></span></div><div class="postcontent"><table border="0" cellspacing="0" cellpadding="0" width="100%" style="table-layout: fixed; word-wrap: break-word"><tbody><tr><td valign="top"><div id="show4525" class="postcontent"><span style="font-size: x-small"><img style="cursor: pointer" src="http://www.zhangheng.net/BLOG/attachments/month_0602/nkcq_20060214100716213.jpg" border="0" alt="图片点击可在新窗口打开查看" width="500" height="394" /> <br />她们真的非常重要。一个网页播放器，不管如何变化多端，都是这些方法、事件和属性衍生的功能延伸，如快进、快退，左、右声道，截取片段，重复、循环、随机播放，拖放，点播，进度条滚动，时间正序、倒序及上一首、下一首、第一首、末一首等等。这里需要说明的是，上面 Windows Media Player 的方法属性是针对 WMP 6.4 以上版本而言，6.4 以下版本的某些地方如全屏等是不同而有区别的。 <br />简单的网页播放器谱乐在前面的专题中已列举了许多实例。即在 HTML 代码中插入： <br />＜object classid = &quot;clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6&quot;＞ <br />＜param name = &quot;url&quot; value = &quot;</span><a href="http://aboutplayer.com/aboutplayer.asx&quot;" target="_blank"><span style="font-size: x-small; color: #000000"><a href="http://aboutplayer.com/aboutplayer.asx&quot;" target="_blank">http://aboutplayer.com/aboutplayer.asx&quot;</a></span></a><span style="font-size: x-small">＞// 参数 url 定义播放媒体的路径。 <br />＜param name = &hellip;&hellip;＞// 还有很多这样的参数，都具有重要的功用！ <br />&hellip;&hellip; <br />＜/object＞ <br />上面是播放音频的代码，播放视频的只需在＜object &hellip;&hellip;＞中插入 width = &quot;205&quot; height = &quot;100&quot; 确定视频区域的宽、高即可，宽高比有 4：3、16：9 两种模式。 <br />若再插入 type = &quot;application/x-oleobject&quot; 的代码，即可播放 SWF 等 Flash 类和 jpg、gif、png、bmp 等图片类媒体。 <br />上述综合代码就是： <br />＜object classid = &quot;clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6&quot; width = &quot;205&quot; height = &quot;100&quot; type = &quot;application/x-oleobject&quot;＞ <br />＜param name = &quot;url&quot; value = &quot;</span><a href="http://aboutplayer.com/aboutplayer.asx&quot;" target="_blank"><span style="font-size: x-small; color: #000000"><a href="http://aboutplayer.com/aboutplayer.asx&quot;" target="_blank">http://aboutplayer.com/aboutplayer.asx&quot;</a></span></a><span style="font-size: x-small">＞ <br />＜param name = &hellip;&hellip;＞ <br />&hellip;&hellip; <br />＜/object＞ <br />这里 &quot;clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6&quot; 是 WMP 6.4 以上版本控件，6.4 以下版本控件代码是 &quot;clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95&quot;。两者在参数等方面的定义上是有许多差异的！</span></div></td></tr></tbody></table></div><table border="1" cellspacing="0" cellpadding="10" width="500" height="100" style="width: 550px; height: 100px" bgcolor="#dedede"><tbody><tr><td width="95%" style="width: 95%"><p align="center"><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small; font-family: Verdana"><strong><u>windows Media Player 9.0网页播放器</u></strong></span></span></p><p align="center"><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small; font-family: Verdana"><strong><u>（mp3.wma.wmv.asf）</u></strong></span></span></p><p align="left"><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small; font-family: Verdana"><u>以下图片为一般播mp3.wma文件时调用windows自带播放器windows Midia Player9.0所显示外观，非9.0版所显示的面板外观可能不同！</u></span></span></p></td></tr><tr><td width="95%" style="width: 95%"><p align="center"><strong><span style="font-size: x-small">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span></strong></p></td></tr><tr><td width="95%" style="width: 95%"><p><strong><u><span style="font-size: x-small">代码简介：</span></u></strong></p><p><span style="font-size: x-small; font-family: Tahoma">width（播放器面板宽度）</span></p><p><span style="font-size: x-small; font-family: Tahoma">height（播放器面板高度）</span></p><p><span style="font-size: x-small; font-family: Tahoma">autostart（自动播放，&ldquo;＝1&rdquo;或&ldquo;＝true&rdquo;即是功能有效，&ldquo;＝0&rdquo;即是手动播放）</span></p><p><span style="font-size: x-small; font-family: Tahoma">loop（循环播放，&ldquo;＝2&rdquo;即是循环播放两次，&ldquo;＝-1&rdquo;或&ldquo;=true&rdquo;即是无限次循环播放）</span></p><p><span style="font-size: x-small; font-family: Tahoma">可变值：false 或 0（手动开启）；true 或 1（自动开启）</span></p></td></tr><tr><td width="95%" style="width: 95%"><p align="center"><strong><span style="font-size: x-small">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span></strong></p></td></tr><tr><td width="95%" style="width: 95%"><p align="center"><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small; font-family: Verdana"><u><strong>（无文件信息显示）</strong></u></span></span></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small; font-family: Verdana">银灰面板</span></span></p><p><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small">&lt;embed src=&quot;链接地址&quot; width=&quot;300&quot; height=&quot;45&quot; loop=&quot;-1&quot; autostart=&quot;true&quot;&gt;<span style="font-family: Verdana">&lt;/EMBED&gt;</span></span></span></p><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small; font-family: Verdana"><p><a href="http://photo.hexun.com/swgy/1168238/photodetail.html" target="_blank"><img style="width: 98%; cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5841/b_334ABEF8921AD6DB.jpg" border="0" alt="图片点击可在新窗口打开查看" width="515" height="118" /></a></p></span></span></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">灰白面板</span></p><p><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small">&lt;embed <span style="font-family: Verdana">style=&quot;FILTER: Gray()&quot; </span>src=&quot;链接地址&quot; width=&quot;300&quot; height=&quot;45&quot; loop=&quot;-1&quot; autostart=&quot;true&quot;&gt;<span style="font-family: Verdana">&lt;/EMBED&gt;</span></span></span></p><p><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small; font-family: Verdana"><a href="http://photo.hexun.com/swgy/1194104/photodetail.html" target="_blank"><img style="width: 98%; cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5970/b_BBC2F3E8E454D41B.jpg" border="0" alt="图片点击可在新窗口打开查看" width="515" height="112" /></a></span></span></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">棕色面板</span></p><p><span style="font-size: x-small">&lt;embed style=&quot;FILTER: invert()&quot; src=&quot;链接地址&quot; width=300 height=45 loop=&quot;-1&quot; <span style="font-family: Tahoma">autostart=&quot;true&quot;</span>&gt;&lt;/EMBED&gt;</span></p><p><br /><a href="http://photo.hexun.com/swgy/1168402/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5842/b_13DFFA73EBE24CED.jpg" border="0" alt="图片点击可在新窗口打开查看" width="301" height="47" /></span></a></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">黑色面板</span></p><p><span style="font-size: x-small">&lt;embed style=&quot;FILTER: xray()&quot; src=&quot;链接地址&quot; width=300 height=45 loop=&quot;-1&quot; <span style="font-family: Tahoma">autostart=&quot;true&quot;</span>&gt;&lt;/EMBED&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1168439/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="width: 98%; cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5842/b_3EBCA05E8C2F32DC.jpg" border="0" alt="图片点击可在新窗口打开查看" width="515" height="116" /></span></a></p></td></tr><tr><td width="95%" style="width: 95%"><p align="center"><strong><span style="font-size: x-small">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span></strong></p></td></tr><tr><td width="95%" style="width: 95%"><p align="center"><strong><u><span style="font-size: x-small">（带显示文件播放信息）</span></u></strong></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">&lt;embed src=&quot;链接地址&quot; width=300 height=69 type=application/x-mplayer2 loop=&quot;-1&quot; showcontrols=&quot;1&quot; ShowDisplay=&quot;0&quot; ShowStatusBar=&quot;1&quot; autostart=&quot;1&quot;&gt;&lt;/EMBED&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1168287/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5841/b_E22B777E234606A9.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="71" /></span></a><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5844/b_05E7876B93397719.jpg" border="0" alt="图片点击可在新窗口打开查看" width="158" height="65" /></span></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">灰白色面板</span></p><p><span style="font-size: x-small">&lt;embed style=&quot;FILTER: Gray()&quot; src=&quot;链接地址&quot; width=300 height=69 type=application/x-mplayer2 loop=&quot;-1&quot; showcontrols=&quot;1&quot; ShowDisplay=&quot;0&quot; ShowStatusBar=&quot;1&quot; autostart=&quot;1&quot;&gt;&lt;/EMBED&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1168676/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5843/b_C917C552519F2DF6.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="70" /></span></a><a href="http://photo.hexun.com/swgy/1168888/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5844/b_F00A3A88AA8836B6.jpg" border="0" alt="图片点击可在新窗口打开查看" width="156" height="62" /></span></a></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">&lt;embed style=&quot;FILTER: invert()&quot; src=&quot;链接地址&quot; width=300 height=69 type=application/x-mplayer2 loop=&quot;-1&quot; showcontrols=&quot;1&quot; ShowDisplay=&quot;0&quot; ShowStatusBar=&quot;1&quot; autostart=&quot;1&quot;&gt;&lt;/EMBED&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1193733/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5968/b_BFA045A40CBC5F87.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="69" /></span></a><span style="font-size: x-small"> </span><a href="http://photo.hexun.com/swgy/1193739/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5968/b_221E2B5672369253.jpg" border="0" alt="图片点击可在新窗口打开查看" width="150" height="62" /></span></a></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">&lt;embed style=&quot;FILTER: xray()&quot; src=&quot;链接地址&quot; width=300 height=69 type=application/x-mplayer2 loop=&quot;-1&quot; showcontrols=&quot;1&quot; ShowDisplay=&quot;0&quot; ShowStatusBar=&quot;1&quot; autostart=&quot;1&quot;&gt;&lt;/EMBED&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1193763/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5968/b_6C3AF9C262D35E00.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="69" /></span></a><span style="font-size: x-small"> </span><a href="http://photo.hexun.com/swgy/1193765/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5968/b_EE851FF1EF9D2342.jpg" border="0" alt="图片点击可在新窗口打开查看" width="150" height="63" /></span></a></p></td></tr><tr><td width="95%" style="width: 95%"><p align="center"><strong><span style="font-size: x-small">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span></strong></p></td></tr><tr><td width="95%" style="width: 95%"><p align="center"><strong><u><span style="font-size: x-small">(显示文件标签信息)</span></u></strong></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">&lt;embed src=&quot;链接地址&quot; loop=&quot;-1&quot; width=300 height=140 balance=&quot;true&quot; showpositioncontrols=&quot;true&quot; showtracker=&quot;true&quot; showaudiocontrols=&quot;true&quot; showcontrols=&quot;true&quot; showstatusbar=&quot;true&quot; showdisplay=&quot;true&quot; displaysize=&quot;0&quot; volume=&quot;100&quot; autosize=&quot;true&quot; autostart=&quot;true&quot; animationatstart=&quot;true&quot; transparentatstart=&quot;true&quot;&gt;&lt;/EMBED&gt; </span></p><p><a href="http://photo.hexun.com/swgy/1168317/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5841/b_3216FFF6E858DDEF.jpg" border="0" alt="图片点击可在新窗口打开查看" width="301" height="143" /></span></a><span style="font-size: x-small"> </span><a href="http://photo.hexun.com/swgy/1192980/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5964/b_E2B46E055068C8DC.jpg" border="0" alt="图片点击可在新窗口打开查看" width="180" height="137" /></span></a></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">&lt;embed style=&quot;FILTER: Gray()&quot; src=&quot;链接地址&quot; loop=&quot;-1&quot; width=300 height=140 balance=&quot;true&quot; showpositioncontrols=&quot;true&quot; showtracker=&quot;true&quot; showaudiocontrols=&quot;true&quot; showcontrols=&quot;true&quot; showstatusbar=&quot;true&quot; showdisplay=&quot;true&quot; displaysize=&quot;0&quot; volume=&quot;100&quot; autosize=&quot;true&quot; autostart=&quot;true&quot; animationatstart=&quot;true&quot; transparentatstart=&quot;true&quot;&gt;&lt;/EMBED&gt; </span></p><p><a href="http://photo.hexun.com/swgy/1192914/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5964/b_780F81495030232E.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="140" /></span></a><span style="font-size: x-small"> </span><a href="http://photo.hexun.com/swgy/1192969/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5964/b_BCCEEDE149F1DB02.jpg" border="0" alt="图片点击可在新窗口打开查看" width="180" height="137" /></span></a><br /><br /></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">&lt;embed style=&quot;FILTER: invert()&quot; src=&quot;链接地址&quot; loop=&quot;-1&quot; width=300 height=140 balance=&quot;true&quot; showpositioncontrols=&quot;true&quot; showtracker=&quot;true&quot; showaudiocontrols=&quot;true&quot; showcontrols=&quot;true&quot; showstatusbar=&quot;true&quot; showdisplay=&quot;true&quot; displaysize=&quot;0&quot; volume=&quot;100&quot; autosize=&quot;true&quot; autostart=&quot;true&quot; animationatstart=&quot;true&quot; transparentatstart=&quot;true&quot;&gt;&lt;/EMBED&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1193008/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5965/b_38D6A94EF0F1487C.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="140" /></span></a><span style="font-size: x-small"> </span><a href="http://photo.hexun.com/swgy/1193009/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5965/b_BEFB07FEF11060B6.jpg" border="0" alt="图片点击可在新窗口打开查看" width="180" height="136" /></span></a></p></td></tr><tr><td width="95%" style="width: 95%"><p><span style="font-size: x-small">&lt;embed style=&quot;FILTER: xray()&quot; src=&quot;链接地址&quot; loop=&quot;-1&quot; width=300 height=140 balance=&quot;true&quot; showpositioncontrols=&quot;true&quot; showtracker=&quot;true&quot; showaudiocontrols=&quot;true&quot; showcontrols=&quot;true&quot; showstatusbar=&quot;true&quot; showdisplay=&quot;true&quot; displaysize=&quot;0&quot; volume=&quot;100&quot; autosize=&quot;true&quot; autostart=&quot;true&quot; animationatstart=&quot;true&quot; transparentatstart=&quot;true&quot;&gt;&lt;/EMBED&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1193589/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5967/b_8D3EE44CC01FA1D8.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="140" /></span></a><span style="font-size: x-small"> </span><a href="http://photo.hexun.com/swgy/1193592/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5967/b_0471E87F62C7D96D.jpg" border="0" alt="图片点击可在新窗口打开查看" width="180" height="98" /></span></a></p></td></tr><tr><td><p align="center"><strong><span style="font-size: x-small">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span></strong></p></td></tr><tr><td><p align="center"><span style="font-size: 9pt; color: black; font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma"><span style="font-size: 9pt; color: black; font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma"><strong><u><span style="font-size: x-small"><span style="font-size: 9pt; color: black; font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma">（有图像的</span><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">media</span><span style="font-size: 9pt; color: black; font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma">播放器）</span></span></u></strong></span></span></p></td></tr><tr><td><p><span style="font-size: 9pt; color: black; font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma"><span style="font-size: 9pt; color: black; font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma"></span></span></p><span style="font-size: 9pt; color: black; font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma"><span style="font-size: 9pt; color: black; font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma"><p><span style="font-size: x-small">&lt;param name=&quot;volume&quot; value=&quot;100&quot;&gt;是调整默认音量的选项，100是最大音量！<br /></span></p><p><span style="font-size: x-small">&lt;object id=&quot;mPlayer1&quot; width=300 height=300 classid=&quot;CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6&quot;&gt;<br />&lt;param name=&quot;URL&quot; value=&quot;链接地址&quot;&gt;<br />&lt;param name=&quot;rate&quot; value=&quot;1&quot;&gt;<br />&lt;param name=&quot;balance&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;currentPosition&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;defaultFrame&quot; value&gt;<br />&lt;param name=&quot;playCount&quot; value=&quot;100&quot;&gt;<br />&lt;param name=&quot;autoStart&quot; value=&quot;1&quot;&gt;<br />&lt;param name=&quot;currentMarker&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;invokeURLs&quot; value=&quot;1&quot;&gt;<br />&lt;param name=&quot;baseURL&quot; value&gt;<br />&lt;param name=&quot;volume&quot; value=&quot;100&quot;&gt;<br />&lt;param name=&quot;mute&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;uiMode&quot; value=&quot;full&quot;&gt;<br />&lt;param name=&quot;stretchToFit&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;windowlessVideo&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;enabled&quot; value=&quot;1&quot;&gt;<br />&lt;param name=&quot;enableContextMenu&quot; value=&quot;1&quot;&gt;<br />&lt;param name=&quot;fullScreen&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;SAMIStyle&quot; value&gt;<br />&lt;param name=&quot;SAMILang&quot; value&gt;<br />&lt;param name=&quot;SAMIFilename&quot; value&gt;<br />&lt;param name=&quot;captioningID&quot; value&gt;<br />&lt;param name=&quot;enableErrorDialogs&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;_cx&quot; value=&quot;7779&quot;&gt;<br />&lt;param name=&quot;_cy&quot; value=&quot;1693&quot;&gt;<br />&lt;/object&gt;<br /></span></p><p><a href="http://photo.hexun.com/swgy/1193989/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5969/b_17019EDFD07E1E7F.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="300" /></span></a><span style="font-size: x-small"> </span></p><p><a href="http://photo.hexun.com/swgy/1193991/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="width: 98%; cursor: pointer" src="http://photo.hexun.com/p/2005/1119/5969/b_AA3F0F34CD75EBDA.jpg" border="0" alt="图片点击可在新窗口打开查看" width="515" height="253" /></span></a></p></span></span></td></tr><tr><td><p align="center"><strong><span style="font-size: x-small">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span></strong></p></td></tr><tr><td><p><span style="font-size: x-small">以下三种加特效面板修改播放面板尺寸时，须将两组播放尺寸数值修改为一致才能正确显示。</span></p><p><span style="font-size: x-small">如下例：width: 300px; HEIGHT: 300px&quot;　　width=&quot;300&quot; height=&quot;300&quot;　</span></p></td></tr><tr><td></td></tr><tr><td><p><span style="font-size: x-small">光晕特效。</span></p><p><span style="font-size: x-small">-----------------</span></p><p><span style="font-size: x-small">opacity（不透明度）、finishopacity（平滑度）、style（风格类型）</span></p><p><span style="font-size: x-small">style（风格类型）：</span></p><p><span style="font-size: x-small">&ldquo;1&rdquo;（强光偏左）、&ldquo;2&rdquo;（强光居中）、</span></p><p><span style="font-size: x-small">&ldquo;3&rdquo;（方形发散强光）&ldquo;4&rdquo;（透明）</span></p></td></tr><tr><td><p><span style="font-size: x-small">&lt;embed style=&quot;filter:Alpha(opacity=10,finishOpacity=100,style=2); WIDTH: 300px; HEIGHT: 300px&quot; src=&quot;链接地址&quot; width=&quot;300&quot; height=&quot;300&quot; type=&quot;audio/mpeg&quot; volume=&quot;100&quot; loop=&quot;true&quot; autostart=&quot;true&quot; showstatusbar=&quot;1&quot;&gt;&lt;/EMBED&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1171418/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="width: 98%; cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5857/b_6BA63BD0351108FA.jpg" border="0" alt="图片点击可在新窗口打开查看" width="515" height="743" /></span></a></p></td></tr><tr><td><p><span style="font-size: x-small">波浪扭曲：</span></p><p><span style="font-size: x-small">lightstrength（亮度）、strength（波幅）、freq（波频）</span></p><p><span style="font-size: x-small">-----------------------------------------------------------------------</span></p><p><span style="font-size: x-small">&lt;embed style=&quot;FILTER: wave(add=0,lightstrength=10,strength=8,freq=20,phrase=30); WIDTH: 300px; HEIGHT: 300px&quot; src=&quot;链接地址&quot; width=&quot;300&quot; height=&quot;300&quot; volume=&quot;0&quot; loop=&quot;true&quot; autostart=&quot;true&quot; showstatusbar=&quot;1&quot;&gt;&lt;/EMBED&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1171147/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="width: 98%; cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5855/b_8560A3F65BA600A8.jpg" border="0" alt="图片点击可在新窗口打开查看" width="515" height="743" /></span></a></p></td></tr><tr><td><p><span style="font-size: x-small">边缘雾化</span></p><p><span style="font-size: x-small">-----------</span></p><p><span style="font-size: x-small">&lt;table style=&quot;FILTER: Alpha(Opacity=100, FinishOpacity=0, Style=2, StartX=20, StartY=40, FinishX=0, FinishY=0)gray(); WIDTH: 300px; HEIGHT: 45px&quot;&gt;<br />&lt;TBODY&gt;<br />&lt;TR&gt;<br />&lt;TD&gt;<br />&lt;EMBED style=&quot;BORDER-RIGHT: silver 1px solid; BORDER-TOP: silver 1px solid; BORDER-LEFT: silver 1px solid; BORDER-BOTTOM: silver 1px solid&quot; src=&quot;链接地址&quot; width=300 height=45 type=audio/x-mplayer2 console=&quot;video&quot; showstatusbar=&quot;0&quot; EnableContextMenu=&quot;0&quot; volume=&quot;0&quot; autostart=&quot;1&quot; loop=&quot;-1&quot;&gt;<br />&lt;/EMBED&gt;<br />&lt;/TD&gt;<br />&lt;/TR&gt;<br />&lt;/TBODY&gt;<br />&lt;/TABLE&gt;</span></p></td></tr><tr><td><a href="http://photo.hexun.com/swgy/1168569/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1116/5842/b_EF0BEF1B650D7BFB.jpg" border="0" alt="图片点击可在新窗口打开查看" width="320" height="48" /></span></a></td></tr><tr><td><p></p><p align="center"><strong><span style="font-size: x-small">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span></strong></p></td></tr></tbody></table><br /><table border="1" cellspacing="0" cellpadding="10" width="100%" height="100%" style="width: 550px; height: 100%" bgcolor="#dddddd"><tbody><tr><td><p align="center"><strong><u><span style="font-size: x-small">RealPlayer网页播放面板</span></u></strong></p><p align="center"><strong><u><span style="font-size: x-small">（rm.rmvb.ram）</span></u></strong></p></td></tr><tr><td><p align="center"><strong><span style="font-size: x-small">音频播放器（无信息显示）</span></strong></p><p align="left"><span style="font-size: x-small">&lt;OBJECT id=video2 height=30 width=300 classid=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA&gt;<br />&lt;PARAM NAME=&quot;_ExtentX&quot; VALUE=&quot;13229&quot;&gt;<br />&lt;PARAM NAME=&quot;_ExtentY&quot; VALUE=&quot;847&quot;&gt;<br />&lt;PARAM NAME=&quot;AUTOSTART&quot; VALUE=&quot;-1&quot;&gt;<br />&lt;PARAM NAME=&quot;SHUFFLE&quot; VALUE=&quot;0&quot;&gt;<br />&lt;PARAM NAME=&quot;PREFETCH&quot; VALUE=&quot;0&quot;&gt;<br />&lt;PARAM NAME=&quot;NOLABELS&quot; VALUE=&quot;0&quot;&gt;<br />&lt;PARAM NAME=&quot;SRC&quot; VALUE=&quot;链接地址&quot;&gt;<br />&lt;PARAM NAME=&quot;CONTROLS&quot; VALUE=&quot;controlpanel&quot;&gt;<br />&lt;PARAM NAME=&quot;CONSOLE&quot; VALUE=&quot;Clip1&quot;&gt;<br />&lt;PARAM NAME=&quot;LOOP&quot; VALUE=&quot;0&quot;&gt;<br />&lt;PARAM NAME=&quot;NUMLOOP&quot; VALUE=&quot;0&quot;&gt;<br />&lt;PARAM NAME=&quot;CENTER&quot; VALUE=&quot;0&quot;&gt;<br />&lt;PARAM NAME=&quot;MAINTAINASPECT&quot; VALUE=&quot;0&quot;&gt;<br />&lt;PARAM NAME=&quot;BACKGROUNDCOLOR&quot; VALUE=&quot;#000000&quot;&gt;<br />&lt;/OBJECT&gt;</span></p><p align="left"><a href="http://photo.hexun.com/swgy/1237253/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="width: 98%; cursor: pointer" src="http://photo.hexun.com/p/2005/1125/6186/b_3828B9C1F4026BBA.jpg" border="0" alt="图片点击可在新窗口打开查看" width="515" height="52" /></span></a></p></td></tr><tr><td><p align="center"><strong><span style="font-size: x-small">音频播放器（显示播放数据）</span></strong></p><p><span style="font-size: x-small">&lt;object classid=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&quot; width=&quot;300&quot; height=&quot;50&quot; id=&quot;RP2&quot;&gt;<br />&lt;param name=&quot;_ExtentX&quot; value=&quot;10001&quot;&gt;<br />&lt;param name=&quot;_ExtentY&quot; value=&quot;1270&quot;&gt;<br />&lt;param name=&quot;AUTOSTART&quot; value=&quot;-1&quot;&gt;<br />&lt;param name=&quot;SHUFFLE&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;PREFETCH&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;NOLABELS&quot; value=&quot;-1&quot;&gt;<br />&lt;param name=&quot;SRC&quot; value=&quot;链接地址&quot;&gt;<br />&lt;param name=&quot;CONTROLS&quot; value=&quot;ControlPanel,StatusBar&quot;&gt;<br />&lt;param name=&quot;CONSOLE&quot; value=&quot;clip1&quot;&gt;<br />&lt;param name=&quot;LOOP&quot; value=&quot;true&quot;&gt;<br />&lt;param name=&quot;NUMLOOP&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;CENTER&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;MAINTAINASPECT&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;BACKGROUNDCOLOR&quot; value=&quot;#000000&quot;&gt;<br />&lt;/object&gt;</span></p><p><a href="http://photo.hexun.com/swgy/1243382/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="width: 98%; cursor: pointer" src="http://photo.hexun.com/p/2005/1125/6216/b_BAADE06ED1253B9F.jpg" border="0" alt="图片点击可在新窗口打开查看" width="515" height="86" /></span></a></p></td></tr><tr><td><p align="center"><span style="font-size: x-small; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"></span></p><p align="center"><span style="font-size: x-small; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><strong>调整高度可变化面板</strong></span></p><p align="left"><span style="font-size: x-small; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><strong>显示播放数据</strong></span></p><p><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small">&lt;embed src=&quot;链接地址&quot; width=&quot;300&quot; height=&quot;60&quot; autostart=&quot;true&quot; loop=&quot;true&quot;&gt;<span style="font-family: Verdana">&lt;/EMBED&gt;</span></span></span></p><p><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small; font-family: Verdana"><a href="http://photo.hexun.com/swgy/1237305/photodetail.html" target="_blank"><img style="width: 98%; cursor: pointer" src="http://photo.hexun.com/p/2005/1125/6186/b_1F06E3D859DA0BBF.jpg" border="0" alt="图片点击可在新窗口打开查看" width="515" height="103" /></a></span></span></p><p><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-size: x-small; font-family: Verdana"><strong>显示播放数据及文件信息</strong></span></span></p><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa"><span style="font-family: Verdana"><p><span style="font-size: x-small"><span style="font-size: 9pt; color: black; font-family: tahoma; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">&lt;embed src=&quot;链接地址&quot; width=&quot;300&quot; height=&quot;90&quot; autostart=&quot;true&quot; loop=&quot;true&quot;&gt;<span style="font-family: Verdana">&lt;/EMBED&gt;</span></span><br /><br /></span><a href="http://photo.hexun.com/swgy/1237303/photodetail.html" target="_blank"><span style="font-size: x-small"><img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1125/6186/b_2C8EE3200B93F9D9.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="90" /></span></a></p></span></span></td></tr><tr><td><p align="center"><strong><span style="font-size: x-small">视频播放器</span></strong></p><p><span style="font-size: x-small">面板分为上下两部分，所以上下分别需要输入链接、调整高宽度。<br />上部为显示屏，宽高一般为：300x240、400x320、500x400。<br />下部播放面板的宽度和上部一致即可，高度不必调整。</span></p><p><span style="font-size: x-small">-----------------------------------------</span></p><p><span style="font-size: x-small">&lt;object classid=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&quot; name=&quot;player&quot; width=&quot;300&quot; height=&quot;240 d=&quot;player&quot;&gt;<br />&lt;param name=&quot;_ExtentX&quot; value=&quot;10001&quot;&gt;<br />&lt;param name=&quot;_ExtentY&quot; value=&quot;6879&quot;&gt;<br />&lt;param name=&quot;AUTOSTART&quot; value=&quot;-1&quot;&gt;<br />&lt;param name=&quot;SHUFFLE&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;PREFETCH&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;NOLABELS&quot; value=&quot;-1&quot;&gt;<br />&lt;param name=&quot;SRC&quot; value=&quot;链接地址&quot;&gt;<br />&lt;param name=&quot;CONTROLS&quot; value=&quot;Imagewindow&quot;&gt;<br />&lt;param name=&quot;CONSOLE&quot; value=&quot;clip1&quot;&gt;<br />&lt;param name=&quot;LOOP&quot; value=&quot;true&quot;&gt;<br />&lt;param name=&quot;NUMLOOP&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;CENTER&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;MAINTAINASPECT&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;BACKGROUNDCOLOR&quot; value=&quot;#000000&quot;&gt;<br />&lt;/object&gt; <br />&lt;object classid=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&quot; width=&quot;300&quot; height=&quot;50&quot; id=&quot;RP2&quot;&gt;<br />&lt;param name=&quot;_ExtentX&quot; value=&quot;10001&quot;&gt;<br />&lt;param name=&quot;_ExtentY&quot; value=&quot;1270&quot;&gt;<br />&lt;param name=&quot;AUTOSTART&quot; value=&quot;-1&quot;&gt;<br />&lt;param name=&quot;SHUFFLE&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;PREFETCH&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;NOLABELS&quot; value=&quot;-1&quot;&gt;<br />&lt;param name=&quot;SRC&quot; value=&quot;链接地址&quot;&gt;<br />&lt;param name=&quot;CONTROLS&quot; value=&quot;ControlPanel,StatusBar&quot;&gt;<br />&lt;param name=&quot;CONSOLE&quot; value=&quot;clip1&quot;&gt;<br />&lt;param name=&quot;LOOP&quot; value=&quot;true&quot;&gt;<br />&lt;param name=&quot;NUMLOOP&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;CENTER&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;MAINTAINASPECT&quot; value=&quot;0&quot;&gt;<br />&lt;param name=&quot;BACKGROUNDCOLOR&quot; value=&quot;#000000&quot;&gt;<br />&lt;/object&gt; </span></p><p></p><p><a href="http://photo.hexun.com/swgy/1242960/photodetail.html" target="_blank">img style="cursor: pointer" src="http://photo.hexun.com/p/2005/1125/6214/b_0BED3D88D8518458.jpg" border="0" alt="图片点击可在新窗口打开查看" width="300" height="289" /></span></a></p></td></tr></tbody></table>
]]>
</description>
</item><item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?163</link>
<title><![CDATA[在线播放器代码博客播放器代码大全]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Wed, 23 Jan 2008 12:25:58 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?163</guid> 
<description>
<![CDATA[ 
	<div class="code">在线播放器代码博客播放器代码大全<br/>1.avi格式 <br/>&lt;object id=&quot;video&quot; width=&quot;400&quot; height=&quot;200&quot; border=&quot;0&quot; classid=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&quot;&gt;<br/>&lt;param name=&quot;ShowDisplay&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;ShowControls&quot; value=&quot;1&quot;&gt;<br/>&lt;param name=&quot;AutoStart&quot; value=&quot;1&quot;&gt;<br/>&lt;param name=&quot;AutoRewind&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;PlayCount&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;Appearance value=&quot;0 value=&quot;&quot;&quot;&gt;<br/>&lt;param name=&quot;BorderStyle value=&quot;0 value=&quot;&quot;&quot;&gt;<br/>&lt;param name=&quot;MovieWindowHeight&quot; value=&quot;240&quot;&gt;<br/>&lt;param name=&quot;MovieWindowWidth&quot; value=&quot;320&quot;&gt;<br/>&lt;param name=&quot;FileName&quot; value=&quot;file:///D&amp;#124;/work/vod/Mbar.avi&quot;&gt;<br/>&lt;embed width=&quot;400&quot; height=&quot;200&quot; border=&quot;0&quot; showdisplay=&quot;0&quot; showcontrols=&quot;1&quot; autostart=&quot;1&quot; autorewind=&quot;0&quot; playcount=&quot;0&quot; moviewindowheight=&quot;240&quot; moviewindowwidth=&quot;320&quot; filename=&quot;file:///D&amp;#124;/work/vod/Mbar.avi&quot; src=&quot;Mbar.avi&quot;&gt;<br/>&lt;/embed&gt; <br/>&lt;/object&gt;</div><div class="code"><br/>2.mpg格式 <br/>&lt;object classid=&quot;clsid:05589FA1-C356-11CE-BF01-00AA0055595A&quot; id=&quot;ActiveMovie1&quot; width=&quot;239&quot; height=&quot;250&quot;&gt;<br/>&lt;param name=&quot;Appearance&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;AutoStart&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;AllowChangeDisplayMode&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;AllowHideDisplay&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;AllowHideControls&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;AutoRewind&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;Balance&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;CurrentPosition&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;DisplayBackColor&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;DisplayForeColor&quot; value=&quot;16777215&quot;&gt;<br/>&lt;param name=&quot;DisplayMode&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;Enabled&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;EnableContextMenu&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;EnablePositionControls&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;EnableSelectionControls&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;EnableTracker&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;Filename&quot; value=&quot;../../../mpeg/halali.mpg&quot; valuetype=&quot;ref&quot;&gt;<br/>&lt;param name=&quot;FullScreenMode&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;MovieWindowSize&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;PlayCount&quot; value=&quot;1&quot;&gt;<br/>&lt;param name=&quot;Rate&quot; value=&quot;1&quot;&gt;<br/>&lt;param name=&quot;SelectionStart&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;SelectionEnd&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;ShowControls&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;ShowDisplay&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;ShowPositionControls&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;ShowTracker&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;Volume&quot; value=&quot;-480&quot;&gt;<br/>&lt;/object&gt;<br/><br/>3.rm格式 <br/>&lt;OBJECT ID=video1 CLASSID=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&quot; HEIGHT=288 WIDTH=352&gt;<br/>&lt;param name=&quot;_ExtentX&quot; value=&quot;9313&quot;&gt;<br/>&lt;param name=&quot;_ExtentY&quot; value=&quot;7620&quot;&gt;<br/>&lt;param name=&quot;AUTOSTART&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;SHUFFLE&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;PREFETCH&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;NOLABELS&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;SRC&quot; value=&quot;rtsp://203.207.131.35/vod/dawan-a.rm&quot;;&gt;<br/>&lt;param name=&quot;CONTROLS&quot; value=&quot;ImageWindow&quot;&gt;<br/>&lt;param name=&quot;CONSOLE&quot; value=&quot;Clip1&quot;&gt;<br/>&lt;param name=&quot;LOOP&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;NUMLOOP&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;CENTER&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;MAINTAINASPECT&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;BACKGROUNDCOLOR&quot; value=&quot;#000000&quot;&gt;&lt;embed SRC type=&quot;audio/x-pn-realaudio-plugin&quot; CONSOLE=&quot;Clip1&quot; CONTROLS=&quot;ImageWindow&quot; HEIGHT=&quot;288&quot; WIDTH=&quot;352&quot; AUTOSTART=&quot;false&quot;&gt;<br/>&lt;/OBJECT&gt;<br/><br/>4.wmv格式<br/>&lt;object id=&quot;NSPlay&quot; width=200 height=180 classid=&quot;CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95&quot; codebase=&quot;http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715&quot; standby=&quot;Loading Microsoft Windows Media Player components...&quot; type=&quot;application/x-oleobject&quot; align=&quot;right&quot; hspace=&quot;5&quot;&gt;<br/>&lt;!-- ASX File Name --&gt;<br/>&lt;param name=&quot;AutoRewind&quot; value=1&gt;<br/>&lt;param name=&quot;FileName&quot; value=&quot;xxxxxx.wmv&quot;&gt;<br/>&lt;!-- Display Controls --&gt;<br/><br/>&lt;param name=&quot;ShowControls&quot; value=&quot;1&quot;&gt;<br/>&lt;!-- Display Position Controls --&gt;<br/><br/>&lt;param name=&quot;ShowPositionControls&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Display Audio Controls --&gt;<br/><br/>&lt;param name=&quot;ShowAudioControls&quot; value=&quot;1&quot;&gt;<br/>&lt;!-- Display Tracker Controls --&gt;<br/><br/>&lt;param name=&quot;ShowTracker&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Show Display --&gt;<br/><br/>&lt;param name=&quot;ShowDisplay&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Display Status Bar --&gt;<br/><br/>&lt;param name=&quot;ShowStatusBar&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Diplay Go To Bar --&gt;<br/><br/>&lt;param name=&quot;ShowGotoBar&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Display Controls --&gt;<br/><br/>&lt;param name=&quot;ShowCaptioning&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Player Autostart --&gt;<br/><br/>&lt;param name=&quot;AutoStart&quot; value=1&gt;<br/>&lt;!-- Animation at Start --&gt;<br/><br/>&lt;param name=&quot;Volume&quot; value=&quot;-2500&quot;&gt;<br/>&lt;param name=&quot;AnimationAtStart&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Transparent at Start --&gt;<br/><br/>&lt;param name=&quot;TransparentAtStart&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Do not allow a change in display size --&gt;<br/><br/>&lt;param name=&quot;AllowChangeDisplaySize&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Do not allow scanning --&gt;<br/><br/>&lt;param name=&quot;AllowScan&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Do not show contect menu on right mouse click --&gt;<br/><br/>&lt;param name=&quot;EnableContextMenu&quot; value=&quot;0&quot;&gt;<br/>&lt;!-- Do not allow playback toggling on mouse click --&gt;<br/>&lt;param name=&quot;ClickToPlay&quot; value=&quot;0&quot;&gt;<br/>&lt;/object&gt;</div><br/><br/><div class="code">最简单的播放代码<br/>&lt;embed src=&quot;http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv&quot;;; <br/>autostart=&quot;true&quot; loop=&quot;true&quot; width=&quot;200&quot; height=&quot;150&quot; &gt; <br/>把这个网址http://wmt2.aboutmedia.com.tw/Aboutmedia/warner/mtv/naying-021011_01v_120k.wmv换成你要看的电影就行了<br/><br/>有图像的rm格式：<br/>&lt;OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=288 id=video1 width=305 VIEWASTEXT&gt;<br/>&lt;param name=_ExtentX value=5503&gt;<br/>&lt;param name=_ExtentY value=1588&gt;<br/>&lt;param name=AUTOSTART value=-1&gt;<br/>&lt;param name=SHUFFLE value=0&gt;<br/>&lt;param name=PREFETCH value=0&gt;<br/>&lt;param name=NOLABELS value=0&gt;<br/>&lt;param name=SRC value=http://media.cdut.edu.cn/ram/new/xiaoxin1.ram&gt;<br/>&lt;param name=CONTROLS value=Imagewindow,StatusBar,ControlPanel&gt;<br/>&lt;param name=CONSOLE value=RAPLAYER&gt;<br/>&lt;param name=LOOP value=0&gt;<br/>&lt;param name=NUMLOOP value=0&gt;<br/>&lt;param name=CENTER value=0&gt;<br/>&lt;param name=MAINTAINASPECT value=0&gt;<br/>&lt;param name=BACKGROUNDCOLOR value=#000000&gt;<br/>&lt;/OBJECT&gt;<br/><br/>无图像的rm格式：如相声，歌曲...<br/>&lt;object ID=video2 WIDTH=300 HEIGHT=62 CLASSID=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA&gt;<br/>&lt;param name=_ExtentX value=9657&gt;<br/>&lt;param name=_ExtentY value=847&gt;<br/>&lt;param name=AUTOSTART value=-1&gt;<br/>&lt;param name=SHUFFLE value=0&gt;<br/>&lt;param name=PREFETCH value=0&gt;<br/>&lt;param name=NOLABELS value=0&gt;<br/>&lt;param name=SRC value=http://210.242.69.206/ramgen/broadcast/BCC/encoder/hipop.rm&gt;<br/>&lt;param name=CONTROLS value=StatusBar,controlpanel&gt;<br/>&lt;param name=CONSOLE value=Clip1&gt;<br/>&lt;param name=LOOP value=0&gt;<br/>&lt;param name=NUMLOOP value=0&gt;<br/>&lt;param name=CENTER value=0&gt;<br/>&lt;param name=MAINTAINASPECT value=0&gt;<br/>&lt;param name=BACKGROUNDCOLOR value=#000000&gt;<br/>&lt;/object&gt;<br/><br/>最简单的media格式的播放器..自动识别有无图像，但是版本是你机器的！<br/>&lt;embed src=mms://61.175.132.221/tv/mtv/f4/makeawish.wmv width=200 height=200 autostart=true loop=true&gt;&lt;/embed&gt;<br/><br/>有图像的media播放器，自动调用网上的插件。<br/>&lt;object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=280 height=265 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject&gt;<br/>&lt;param name=URL value=http://202.99.11.42/xiangsheng/ymjr.wma&gt;<br/>&lt;PARAM NAME=UIMode value=full&gt;&lt;PARAM NAME=AutoStart value=true&gt;<br/>&lt;PARAM NAME=Enabled value=true&gt;<br/>&lt;PARAM NAME=enableContextMenu value=false&gt;<br/>&lt;param name=WindowlessVideo value=true&gt;&lt;/object&gt;<br/><br/>无图像的media播放器..。同上。<br/>&lt;object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=280 height=60 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject&gt;<br/>&lt;param name=URL value=http://202.99.11.42/xiangsheng/ymjr.wma&gt;<br/>&lt;PARAM NAME=UIMode value=full&gt;&lt;PARAM NAME=AutoStart value=true&gt;<br/>&lt;PARAM NAME=Enabled value=true&gt;<br/>&lt;PARAM NAME=enableContextMenu value=false&gt;<br/>&lt;/object&gt;<br/><br/>只是界面不同的media的调插件播放器..建议不用这个，，你可以看！<br/>&lt;embed src=http://av.wanwa.com/fileroot/AV/Ramfiles/23809.ram type=audio/x-pn-realaudio-plugin console=Clip1 controls=ControlPanel,StatusBar height=60 width=275 autostart=true&gt;&lt;/embed&gt;<br/><br/>在线播放rm格式视频代码：<br/>&lt;object id=&quot;player&quot; name=&quot;player&quot; classid=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&quot; width=&quot;400&quot; height=&quot;272&quot;&gt;<br/>&lt;param name=&quot;_ExtentX&quot; value=&quot;18415&quot;&gt;<br/>&lt;param name=&quot;_ExtentY&quot; value=&quot;9102&quot;&gt;<br/>&lt;param name=&quot;AUTOSTART&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;SHUFFLE&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;PREFETCH&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;NOLABELS&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;SRC&quot; value=&quot;http://www.xiaoqiong.com/ftp/up/bz.rm&quot;&gt;<br/>&lt;param name=&quot;CONTROLS&quot; value=&quot;Imagewindow&quot;&gt;<br/>&lt;param name=&quot;CONSOLE&quot; value=&quot;clip1&quot;&gt;<br/>&lt;param name=&quot;LOOP&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;NUMLOOP&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;CENTER&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;MAINTAINASPECT&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;BACKGROUNDCOLOR&quot; value=&quot;#000000&quot;&gt;<br/>&lt;/object&gt;&lt;br&gt;<br/>&lt;object ID=&quot;RP2&quot; CLASSID=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&quot; WIDTH=&quot;400&quot; HEIGHT=&quot;57&quot;&gt;<br/>&lt;param name=&quot;_ExtentX&quot; value=&quot;18415&quot;&gt;<br/>&lt;param name=&quot;_ExtentY&quot; value=&quot;1005&quot;&gt;<br/>&lt;param name=&quot;AUTOSTART&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;SHUFFLE&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;PREFETCH&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;NOLABELS&quot; value=&quot;-1&quot;&gt;<br/>&lt;param name=&quot;SRC&quot; value=&quot;http://www.xiaoqiong.com/ftp/up/bz.rm&quot;&gt;<br/>&lt;PARAM NAME=&quot;CONTROLS&quot; VALUE=&quot;ControlPanel,StatusBar&quot;&gt;<br/>&lt;param name=&quot;CONSOLE&quot; value=&quot;clip1&quot;&gt;<br/>&lt;param name=&quot;LOOP&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;NUMLOOP&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;CENTER&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;MAINTAINASPECT&quot; value=&quot;0&quot;&gt;<br/>&lt;param name=&quot;BACKGROUNDCOLOR&quot; value=&quot;#000000&quot;&gt;<br/>&lt;/object&gt;<br/><br/>由于Embed标签是Netscape的私有财产，故一直未被W3C认可，对于各种媒体文件使用Embed标签是非标准的，如何改变？Elizabeth Castro的 Bye Bye Embed 一文对于各种媒体播放器给出了很好的符合web标准的代码。<br/><br/>在线媒体播放--Google Video and YouTube<br/> 程序代码<br/>&lt;object type=&quot;application/x-shockwave-flash&quot; <br/>data=&quot;http://video.google.com/googleplayer.swf? »<br/>8755581808731033658&quot; <br/>width=&quot;400&quot; height=&quot;326&quot; id=&quot;VideoPlayback&quot;&gt;<br/>&lt;param name=&quot;movie&quot; <br/>value=&quot;http://video.google.com/googleplayer.swf? »<br/>docId=8755581808731033658&quot; /&gt;<br/>&lt;param name=&quot;allowScriptAcess&quot; value=&quot;sameDomain&quot; /&gt;<br/>&lt;param name=&quot;quality&quot; value=&quot;best&quot; /&gt;<br/>&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;<br/>&lt;param name=&quot;scale&quot; value=&quot;noScale&quot; /&gt;<br/>&lt;param name=&quot;salign&quot; value=&quot;TL&quot; /&gt;<br/>&lt;param name=&quot;FlashVars&quot; value=&quot;playerMode=embedded&quot; /&gt;<br/><br/>其实就是FLASH文件的调用<br/><br/>Windows Media Player 文件<br/> 程序代码<br/>&lt;object type=&quot;video/x-ms-wmv&quot; <br/>data=&quot;http://www.sarahsnotecards.com/catalunyalive/ »<br/>fishstore.wmv&quot; <br/>width=&quot;320&quot; height=&quot;260&quot;&gt;<br/>&lt;param name=&quot;src&quot; <br/>value=&quot;http://www.sarahsnotecards.com/catalunyalive/ »<br/>fishstore.wmv&quot; /&gt;<br/>&lt;param name=&quot;autostart&quot; value=&quot;true&quot; /&gt;<br/>&lt;param name=&quot;controller&quot; value=&quot;true&quot; /&gt;<br/>&lt;/object&gt;<br/><br/>上面的代码没有Windows Media Player特有的classid，作者在IE5.5, IE6, IE7, Opera Win/Mac, Firefox Win/Mac, Safari下测试通过。<br/><br/>QuickTime movies 没有 embed 标签<br/> 程序代码<br/>&lt;object classid=&quot;clsid:02BF25D5-8C17-4B23-BC80- »<br/>D3488ABDDC6B&quot; <br/>codebase=&quot;http://www.apple.com/qtactivex/qtplugin.cab&quot; <br/>width=&quot;320&quot; height=&quot;260&quot;&gt;<br/>&lt;param name=&quot;src&quot; <br/>value=&quot;http://www.sarahsnotecards.com/catalunyalive/ »<br/>diables.mov&quot; /&gt;<br/>&lt;param name=&quot;controller&quot; value=&quot;true&quot; /&gt;<br/>&lt;param name=&quot;autoplay&quot; value=&quot;false&quot; /&gt;<br/>&lt;!--&#91;if !IE&#93;&gt;--&gt;<br/>&lt;object type=&quot;video/quicktime&quot; <br/>data=&quot;http://www.sarahsnotecards.com/catalunyalive/ »<br/>diables.mov&quot; <br/>width=&quot;320&quot; height=&quot;260&quot;&gt;<br/>&lt;param name=&quot;autoplay&quot; value=&quot;false&quot; /&gt;<br/>&lt;param name=&quot;controller&quot; value=&quot;true&quot; /&gt;<br/>&lt;/object&gt;<br/>&lt;!--&lt;!&#91;endif&#93;--&gt;<br/>&lt;/object&gt;<br/></div>
]]>
</description>
</item><item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?162</link>
<title><![CDATA[如何在页面中插入播放器]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Wed, 23 Jan 2008 11:28:28 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?162</guid> 
<description>
<![CDATA[ 
	<strong>下面以Windows Media Player和Real Player为例讲解如何在页面中插入播放器：</strong><div class="code">插入Windows Media Player： <br/>ID：6BF52A52-394A-11d3-B153-00C04F79FAA6 <br/>插入real：<br/>&lt;object id=&quot;RAOCX&quot; classid=&quot;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&#92;&gt;<br/><br/>－－－－－－－－－－例子－－－－－－－－－－－－－－－<br/><br/>&lt;object id=&quot;MediaPlayer&quot; height=&quot;40&quot; width=&quot;150&quot; <br/>classid=&quot;CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6&quot; VIEWASTEXT&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//播放文件的地址<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;URL&quot; value=http://歌曲地址.asx&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//指定流文件播放的速度，负数表示反向播放。<br/>&nbsp;&nbsp;&nbsp;&nbsp;//当该值不是1时，ASF和 WMV文件在播放时会静音<br/>&nbsp;&nbsp;&nbsp;&nbsp;//一般取值在-10到10 <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;rate&quot; value=&quot;1&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//介于-100和100的整数作用：指定平衡左右扬声器<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;balance&quot; value=&quot;0&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//当前所在播放位置，单位：秒<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;currentPosition&quot; value=&quot;0&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//指定流文件播放的次数<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;playCount&quot; value=&quot;1&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//是否自动播放<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;autoStart&quot; value=&quot;-1&quot;&gt;<br/></div><br/><br/>MediaPlayer播放器的例子：<div class="code"><br/>&lt;object id=&quot;MediaPlayer&quot; height=&quot;150&quot; width=&quot;150&quot; classid=&quot;CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6&quot; VIEWASTEXT&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//播放文件的地址<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;URL&quot; value=&quot;http://www.80sfm.com/asx/80sasx.asx&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//指定流文件播放的速度，负数表示反向播放。<br/>&nbsp;&nbsp;&nbsp;&nbsp;//当该值不是1时，ASF和 WMV文件在播放时会静音<br/>&nbsp;&nbsp;&nbsp;&nbsp;//一般取值在-10到10 <br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;rate&quot; value=&quot;1&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//介于-100和100的整数作用：指定平衡左右扬声器<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;balance&quot; value=&quot;0&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//当前所在播放位置，单位：秒<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;currentPosition&quot; value=&quot;0&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//指定流文件播放的次数<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;playCount&quot; value=&quot;1&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//是否自动播放<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;autoStart&quot; value=&quot;-1&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;currentMarker&quot; value=&quot;0&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//指定URL路径是否启动浏览器打开<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;invokeURLs&quot; value=&quot;-1&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//0到100的任何数值，指定音量大小<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;volume&quot; value=&quot;50&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//指定音频是否静音<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;mute&quot; value=&quot;0&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//None，mini，或full，指定Windows媒体播放器控制如何显示<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;uiMode&quot; value=&quot;mini&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;stretchToFit&quot; value=&quot;0&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;windowlessVideo&quot; value=&quot;0&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//指定是否让播放器有效<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;enabled&quot; value=&quot;-1&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//指定是否使右键菜单有效<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;enableContextMenu&quot; value=&quot;0&quot;&gt;<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;//指定是否采用全屏模式播放流文件内容<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;fullScreen&quot; value=&quot;0&quot;&gt;<br/>&lt;/object&gt;<br/></div><br/>在网页中插入播放器代码属性表：<br/><div class="code"><br/>&lt;object id=&quot;MediaPlayer&quot; height=&quot;40&quot; width=&quot;150&quot; <br/>classid=&quot;CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6&quot; VIEWASTEXT&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//播放文件的地址<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;URL&quot; value=http://歌曲地址.asx&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//指定流文件播放的速度，负数表示反向播放。<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//当该值不是1时，ASF和 WMV文件在播放时会静音<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//一般取值在-10到10 <br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;rate&quot; value=&quot;1&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//介于-100和100的整数作用：指定平衡左右扬声器<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;balance&quot; value=&quot;0&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//当前所在播放位置，单位：秒<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;currentPosition&quot; value=&quot;0&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//指定流文件播放的次数<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;playCount&quot; value=&quot;1&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//是否自动播放<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;autoStart&quot; value=&quot;-1&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;currentMarker&quot; value=&quot;0&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//指定URL路径是否启动浏览器打开<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;invokeURLs&quot; value=&quot;-1&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//0到100的任何数值，指定音量大小<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;volume&quot; value=&quot;50&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//指定音频是否静音<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;mute&quot; value=&quot;0&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//None，mini，或full，指定Windows媒体播放器控制如何显示<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;uiMode&quot; value=&quot;mini&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;stretchToFit&quot; value=&quot;0&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;windowlessVideo&quot; value=&quot;0&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//指定是否让播放器有效<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;enabled&quot; value=&quot;-1&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//指定是否使右键菜单有效<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;enableContextMenu&quot; value=&quot;0&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;//指定是否采用全屏模式播放流文件内容<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;fullScreen&quot; value=&quot;0&quot;&gt;<br/>javascript:if(this.width&gt;screen.width-600)this.style.width=screen.width-600;&quot;&gt;&lt;/object&gt;<br/></div><br/>
]]>
</description>
</item><item>
<link>http://vir.jxstnu.edu.cn/xieyunc/read.php?161</link>
<title><![CDATA[如何在网页中弹出的模式窗口，就像C/S中的SHOWMODAL类型窗口]]></title> 
<author>xieyunc &lt;xieyunc@jxstnu.cn&gt;</author>
<category><![CDATA[小宇作品]]></category>
<pubDate>Thu, 17 Jan 2008 12:23:44 +0000</pubDate> 
<guid>http://vir.jxstnu.edu.cn/xieyunc/read.php?161</guid> 
<description>
<![CDATA[ 
	在网页中弹出的模式窗口的函数为：&nbsp;&nbsp;window.showModalDialog(sURL&nbsp;&nbsp; [,&nbsp;&nbsp; vArguments]&nbsp;&nbsp; [,&nbsp;&nbsp; sFeatures])<br/>1.模态窗口的打开,model window open<br/>2.模态窗口的关闭,model window close<br/>3.模态窗口的传递参数,model window&nbsp;&nbsp;get valuse<br/>4.其他....,other ..<br/><br/>1.window.showModalDialog("DialogPage.aspx","newwin","dialogHeight: 200px; dialogWidth: 150px; dialogTop: 458px; dialogLeft: 166px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status: Yes;");<br/><br/>2.window.close();<br/><br/>3.传值<br/>ParentPage.aspx:<br/>window.showModalDialog("DialogPage.aspx?para1=aaa&para2=bbb");<br/><br/>DialogPage.aspx:<br/>string str1=Request.QueryString["para1"].toString();<br/>string str2=Request.QueryString["para2"].toString();<br/><br/>返回值<br/>DialogPage.aspx:<br/>window.returnValue="aaa";<br/><br/>ParentPage.aspx:<br/>var str=window.showModalDialog("DialogPage.aspx");<br/><br/>4.<br/>aspx页面在showmodeldialog情况下为什么一提交就重新打开一个页面?<br/>showmodaldialog打开的页面中在<head></head>之间加入一行：<base target="_self"><br/><br/>ShowModalDialog函数的功能：<br/>打开一个子窗口，并且可与父窗口相互传递数据，它与window.open的最大区别就在于由ShowModalDialog打开子窗口后，父窗口将不能操作。<br/>使用方法：<br/>vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])<br/>参数说明：<br/>sURL<br/>必选参数，类型：字符串。用来指定对话框要显示的文档的URL。<br/>vArguments<br/>可选参数，类型：变体。用来向对话框传递参数。传递的参数类型不限，包括数组等。对话框通过window.dialogArguments来取得传递进来的参数。<br/>sFeatures<br/>可选参数，类型：字符串。用来描述对话框的外观等信息，可以使用以下的一个或几个，用分号“;”隔开。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dialogHeight 对话框高度，不小于１００px，ＩＥ４中dialogHeight 和 dialogWidth 默认的单位是em，而ＩＥ５中是px，为方便其见，在定义modal方式的对话框时，用px做单位。<br/>　　 dialogWidth: 对话框宽度。<br/>　　 dialogLeft: 距离桌面左的距离。<br/>　　 dialogTop: 离桌面上的距离。<br/>　　 center: &#123;yes &#124; no &#124; 1 &#124; 0 &#125;：窗口是否居中，默认yes，但仍可以指定高度和宽度。<br/>　　 help: &#123;yes &#124; no &#124; 1 &#124; 0 &#125;：是否显示帮助按钮，默认yes。<br/>　　 resizable: &#123;yes &#124; no &#124; 1 &#124; 0 &#125; ［ＩＥ５＋］：是否可被改变大小。默认no。<br/>　　 status: &#123;yes &#124; no &#124; 1 &#124; 0 &#125; ［IE5+］：是否显示状态栏。默认为yes[ Modeless]或no&nbsp;&nbsp;[Modal]。<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scroll:&#123; yes &#124; no &#124; 1 &#124; 0 &#124; on &#124; off &#125;：指明对话框是否显示滚动条。默认为yes。<br/>参数传递方法：<br/>父窗口向子窗口传递参数采用ShowModalDialog的第2个参数即可，父窗口要获取子窗口传回的参数则可通过ShowModalDialog函数的返回值获取。<br/>子窗口获取父窗口参数的方法为采用子窗口window对象dialogArguments属性获取，例如：<br/>var a=window.dialogArguments;<br/>子窗口向父窗口返回参数采用window.returnValue属性，如：<br/>window.returnValue=1;<br/>window.close();<br/><br/>　　这也是老早前整理的了，也贴出来吧：<br/><br/>　　1．&nbsp;&nbsp;showModalDialog和showModelessDialog的异同<br/><br/>　　&nbsp;&nbsp;同：两者弹出的窗体不能刷新<br/><br/>　　&nbsp;&nbsp;异：前者是模态窗口，始终获得焦点；后者是非模态窗口，只不过弹出一个页面，还可以操作父窗口。<br/><br/>　　2．&nbsp;&nbsp;关闭showModalDialog和showModelessDialog弹出的窗口<br/><br/>　　&nbsp;&nbsp;&nbsp;&nbsp;<INPUT type="button" value="ButtonClick" onclick="self.close();"><br/><br/>　　3．&nbsp;&nbsp;怎样才让在showModalDialog和showModelessDialog的弹出新窗口里操作button,不弹出新窗口？<br/><br/>　　&nbsp;&nbsp;&nbsp;&nbsp;在<head>和</head>之间加<base target="_self"><br/><br/>　　4.&nbsp;&nbsp;&nbsp;&nbsp; showModalDialog的返回值<br/><br/><br/>它在MSDN中是这样描述的：<br/>&nbsp;&nbsp;showModalDialog&nbsp;&nbsp; Method&nbsp;&nbsp; <br/>&nbsp;&nbsp;--------------------------------------------------------------------------------&nbsp;&nbsp; <br/>&nbsp;&nbsp;Creates&nbsp;&nbsp; a&nbsp;&nbsp; modal&nbsp;&nbsp; dialog&nbsp;&nbsp; box&nbsp;&nbsp; that&nbsp;&nbsp; displays&nbsp;&nbsp; the&nbsp;&nbsp; specified&nbsp;&nbsp; HTML&nbsp;&nbsp; document.&nbsp;&nbsp; <br/>&nbsp;&nbsp;Syntax&nbsp;&nbsp; <br/>&nbsp;&nbsp;vReturnValue&nbsp;&nbsp; =&nbsp;&nbsp; window.showModalDialog(sURL&nbsp;&nbsp; [,&nbsp;&nbsp; vArguments]&nbsp;&nbsp; [,&nbsp;&nbsp; sFeatures]) <br/>&nbsp;&nbsp;<br/>Example：&nbsp;&nbsp; <br/><textarea name="code" class="javascript" rows="15" cols="100">&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;This&nbsp;&nbsp; example&nbsp;&nbsp; uses&nbsp;&nbsp; the&nbsp;&nbsp; showModalDialog&nbsp;&nbsp; method&nbsp;&nbsp; to&nbsp;&nbsp; open&nbsp;&nbsp; a&nbsp;&nbsp; customized&nbsp;&nbsp; dialog&nbsp;&nbsp; box.&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;<SCRIPT>&nbsp;&nbsp; 
&nbsp;&nbsp;function&nbsp;&nbsp; fnRandom(iModifier)&#123;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;&nbsp; parseInt(Math.random()*iModifier);&nbsp;&nbsp; 
&nbsp;&nbsp;&#125;&nbsp;&nbsp; 
&nbsp;&nbsp;function&nbsp;&nbsp; fnSetValues()&#123;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;&nbsp; iHeight=oForm.oHeight.options[&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oForm.oHeight.selectedIndex].text;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(iHeight.indexOf("Random")>-1)&#123;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iHeight=fnRandom(document.body.clientHeight);&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;&nbsp; sFeatures="dialogHeight:&nbsp;&nbsp; "&nbsp;&nbsp; +&nbsp;&nbsp; iHeight&nbsp;&nbsp; +&nbsp;&nbsp; "px;";&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;&nbsp; sFeatures;&nbsp;&nbsp; 
&nbsp;&nbsp;&#125;&nbsp;&nbsp; 
&nbsp;&nbsp;function&nbsp;&nbsp; fnOpen()&#123;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;&nbsp; sFeatures=fnSetValues();&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;window.showModalDialog("showModalDialog_target.htm",&nbsp;&nbsp; "",&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sFeatures)&nbsp;&nbsp; 
&nbsp;&nbsp;&#125;&nbsp;&nbsp; 
&nbsp;&nbsp;</SCRIPT>&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;<FORM&nbsp;&nbsp; NAME=oForm>&nbsp;&nbsp; 
&nbsp;&nbsp;Dialog&nbsp;&nbsp; Height&nbsp;&nbsp; <SELECT&nbsp;&nbsp; NAME="oHeight">&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<OPTION>--&nbsp;&nbsp; Random&nbsp;&nbsp; --&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<OPTION>150&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<OPTION>200&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<OPTION>250&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<OPTION>300&nbsp;&nbsp; 
&nbsp;&nbsp;</SELECT>&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;Create&nbsp;&nbsp; Modal&nbsp;&nbsp; Dialog&nbsp;&nbsp; Box&nbsp;&nbsp; 
&nbsp;&nbsp;<INPUT&nbsp;&nbsp; TYPE="button"&nbsp;&nbsp; VALUE="Push&nbsp;&nbsp; To&nbsp;&nbsp; Create"&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onclick="fnOpen()">&nbsp;&nbsp; 
&nbsp;&nbsp;</FORM>&nbsp;&nbsp; </textarea><br/><br/><br/><br/>Tags - <a href="http://vir.jxstnu.edu.cn/xieyunc/tag.php?tag=javascript" rel="tag">javascript</a> , <a href="http://vir.jxstnu.edu.cn/xieyunc/tag.php?tag=showmodal" rel="tag">showmodal</a> , <a href="http://vir.jxstnu.edu.cn/xieyunc/tag.php?tag=showmodaldialog" rel="tag">showmodaldialog</a>
]]>
</description>
</item>
</channel>
</rss>