Home  >  Article  >  Web Front-end  >  HTML中嵌入FLV视频文件_html/css_WEB-ITnose

HTML中嵌入FLV视频文件_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:13:381183browse

    1.下载Flvplayer.swf。

    2.创建xml配置文件。

        

<?xml version="1.0" encoding="utf-8"?>        <vcaster>        <item item_url="flv路径" item_title="flv标题"></item>        <item item_url="flv路径" item_title="flv标题"></item>        </vcaster>

    3.在HTML的body中:

      

  <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="470" height="310" wmode=”opaque”>    <param name="movie" value="/global/flv/Flvplayer.swf?vcastr_xml=/global/flv/flv.xml&IsAutoPlay=1&IsContinue=1&IsRandom=1">    <param name="quality" value="high">    <param name="wmode" value="transparent"/>    <param name="allowfullscreen" value="true">    <embed src="/global/flv/Flvplayer.swf?vcastr_xml=/global/flv/flv.xml&IsAutoPlay=1&IsContinue=1&IsRandom=1"  wmode="transparent" allowfullscreen="true"  quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="470" height="310" WindowlessVideo="1"></embed>    </object>

    param 标签是IE使用的,embed标签是火狐和谷歌使用的。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn