实现网页中播放FLV文件的源代码

实现网页中播放FLV文件的源代码


2024年4月11日发(作者:番茄花园最后一个xp)

实现网页中播放FLV文件的源代码

使用方法:

方法一、js嵌入

直接copy下面代码,修改其中红色部分,即:swf_width、swf_height、texts、files 参数

其中:

幸福的脚丫预告片 是标题。

/product/vcastr/flv/happy_ 是FLV文件地址。

/product/vcastr2/ 是FLV文件播放器地址(如果你不会制作,

可下载别人的然后上传到自己的空间再调用)。

flv播放器 Vcastr 2.0 下载

/product/vcastr2/

方法二、简单直接传递影片地址

codebase="/pub/shockwave/cabs/flash/#version=6,0,29,0

" width="240" height="180">

value="/product/vcastr2/?vcastr_file=/produ

ct/vcastr/flv/happy_">

src="/product/vcastr2/?vcastr_file=/product/

vcastr/flv/happy_" allowFullScreen="true" quality="high"

pluginspage="/go/getflashplayer" type="application/x-shockwave-flash"

width="240" height="180">

方法三、读取影片xml

codebase="/pub/shockwave/cabs/flash/#version=6,0,29,0

" width="240" height="120">

value="/product/vcastr2/?vcastr_xml=/produ

ct/vcastr2/">

src="/product/vcastr2/?vcastr_xml=/product

/vcastr2/" allowFullScreen="true" quality="high"

pluginspage="/go/getflashplayer" type="application/x-shockwave-flash"

width="240" height="120">

其中:/product/vcastr/ 是播放列表的xml地址

高级选项

codebase="/pub/shockwave/cabs/flash/#version=6,0,29,0

" width="240" height="180">

value="/product/vcastr2/?vcastr_file=/produ

ct/vcastr/flv/happy_">

src="/product/vcastr2/?vcastr_file=/product/

vcastr/flv/happy_" allowFullScreen="true" quality="high"

pluginspage="/go/getflashplayer" type="application/x-shockwave-flash"

width="240" height="180">


发布者:admin,转转请注明出处:http://www.yc00.com/xitong/1712777306a2119942.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信