日期:2014-05-18  浏览次数:20521 次

播放视频
如何在网页中播放视频啊?我用了<embed src="路径"></embed>,网页上视频是出来了,但是不能播放啊,该怎么解决啊?格式是.wmv的

------解决方案--------------------
要用object吧
HTML code
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
    codebase="http://download.macromedia.com/pub/ shockwave/ cabs/ flash/swflash.cab#version=6,0,29,0" 
    width="484" height="200">
    <PARAM   NAME="_cx"   VALUE="16933">   
    <PARAM   NAME="_cy"   VALUE="12700">   
  <PARAM   NAME="FlashVars"   VALUE="">   
  <PARAM   NAME="Movie"   VALUE="gongfuxmsmh.swf">   
  <PARAM   NAME="Src"   VALUE="gongfuxmsmh.swf">   
  <PARAM   NAME="WMode"   VALUE="Window">   
  <PARAM   NAME="Play"   VALUE="-1">   
  <PARAM   NAME="Loop"   VALUE="-1">   
  <PARAM   NAME="Quality"   VALUE="High">   
  <PARAM   NAME="SAlign"   VALUE="">   
  <PARAM   NAME="Menu"   VALUE="-1">   
  <PARAM   NAME="Base"   VALUE="">   
  <PARAM   NAME="AllowScriptAccess"   VALUE="always">   
  <PARAM   NAME="Scale"   VALUE="ShowAll">   
  <PARAM   NAME="DeviceFont"   VALUE="0">   
  <PARAM   NAME="EmbedMovie"   VALUE="0">   
  <PARAM   NAME="BGColor"   VALUE="">   
  <PARAM   NAME="SWRemote"   VALUE="">   
  <PARAM   NAME="MovieData"   VALUE="">   
    <embed src="gongfuxmsmh.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplaer" type="application/x-shockwave- flash" width="484" height=200>
    </embed>
    </object>