js的flv視頻播放器外掛程式使用方法

來源:互聯網
上載者:User

js的flv視頻播放器外掛程式使用方法

         FLV格式的視頻很流行,有些網站程式不支援這個功能,我找到了一個強大FLV視頻播放器外掛程式,可以自訂播放器介面顏色,可設定播放器預設圖片等等,推薦給大家。

 

 

        使用非常簡單,小夥伴們只要修改對應的參數即可,這裡就不多廢話了,直接奉上執行個體吧。

?

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

<div class="txt1">

<script type="text/javascript">

var swf_width=307

var swf_height=182

var texts='快樂星漢堡'

var files='http://v.78.cn/kuailexing/sp.flv'

</script>

<!--<script type="text/javascript" src="http://www.78.cn/style/vcast_c.js"></script>-->

<script type="text/javascript">

var config='0:自動播放|1:連續播放|100:預設音量|0:控制欄位置|2:控制欄顯示|0x000033:主體顏色|60:主體透明度|0x66ff00:光暈顏色|0xffffff:表徵圖顏色|0xffffff:文字顏色|:logo文字|:logo地址|end.flv:結束swf地址'

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');

document.write('<param name="movie" value="http://www.78.cn/style/vcastr.swf"><param name="quality" value="high">');

document.write('<param name="menu" value="false"><param name=wmode value="opaque">');

document.write('<param name="FlashVars" value="vcastr_file='+files+'&vcastr_title='+texts+'&vcastr_config='+config+'">');

document.write('<embed src="http://www.78.cn/style/vcastr.swf" wmode="opaque" FlashVars="vcastr_file='+files+'&vcastr_title='+texts+'&vcastr_config='+config+'" menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');

</script>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="307" height="182">

<param name="movie" value="http://www.78.cn/style/vcastr.swf">

<param name="quality" value="high">

<param name="menu" value="false">

<param name="wmode" value="opaque">

<param name="FlashVars" value="vcastr_file=http://v.78.cn/kuailexing/sp.flv&vcastr_title=快樂星漢堡&vcastr_config=0:自動播放|1:連續播放|100:預設音量|0:控制欄位置|2:控制欄顯示|0x000033:主體顏色|60:主體透明度|0x66ff00:光暈顏色|0xffffff:表徵圖顏色|0xffffff:文字顏色|:logo文字|:logo地址|end.flv:結束swf地址">

<embed src="/style/vcastr.swf" wmode="opaque" flashvars="vcastr_file=http://v.78.cn/kuailexing/sp.flv&vcastr_title=快樂星漢堡&vcastr_config=0:自動播放|1:連續播放|100:預設音量|0:控制欄位置|2:控制欄顯示|0x000033:主體顏色|60:主體透明度|0x66ff00:光暈顏色|0xffffff:表徵圖顏色|0xffffff:文字顏色|:logo文字|:logo地址|end.flv:結束swf地址" menu="false" quality="high" width="307" height="182" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer">

</object>

</div>

       以上所述就是本文的全部內容了,希望大家能夠喜歡。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.