Heim  >  Artikel  >  Web-Frontend  >  HTML中嵌入FLV视频文件_html/css_WEB-ITnose

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

WBOY
WBOYOriginal
2016-06-21 09:13:381138Durchsuche

    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标签是火狐和谷歌使用的。

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn