今天小涛分享一个比较实用的东西:网页插入flv视频代码,可控制是否自动播放 <object width=”500″ height=”400″ classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0″><param name=”quality” value=”high” /><param name=”allowFullScreen” value=”true” /><param name=”FlashVars” value=”vcastr_file=http://www.cnzz.cc/news/UploadFiles_1118/200809/神舟七号点火发射瞬间.flv&LogoText=www.cnzz.cc&BufferTime=3&IsAutoPlay=1″ /><param name=”src” value=”http://www.cnzz.cc/Flv/Flvplayer.swf” /><param name=”allowfullscreen” value=”true” /><param name=”flashvars” value=”vcastr_file=http://www.cnzz.cc/news/UploadFiles_1118/200809/神舟七号点火发射瞬间.flv&LogoText=www.cnzz.cc&IsAutoPlay=1″ /><param name=”pluginspage” value=”http://www.macromedia.com/go/getflashplayer” /><embed width=”500″ height=”400″ type=”application/x-shockwave-flash” src=”http://www.cnzz.cc/Flv/Flvplayer.swf” quality=”high” allowFullScreen=”true” FlashVars=”vcastr_file=http://www.cnzz.cc/news/UploadFiles_1118/200809/神舟七号点火发射瞬间.flv&LogoText=www.cnzz.cc&BufferTime=3&IsAutoPlay=1″ allowfullscreen=”true” flashvars=”vcastr_file=http://www.cnzz.cc/news/UploadFiles_1118/200809/神舟七号点火发射瞬间.flv&LogoText=www.cnzz.cc&IsAutoPlay=1″ pluginspage=”http://www.macromedia.com/go/getflashplayer” /> </object> 配置:IsAutoPlay=1 自动播放,等于0的时候手动播放 技术分享,技术交流,小涛与您共同成长
飞自由,点点滴滴,从基础开始—PHP技术博客
转载请注明:爱开源 » 分享:网页插入flv视频代码,可控制是否自动播放