How to Use the js flv Video Player Plug-in

Source: Internet
Author: User

How to Use the js flv Video Player Plug-in

FLV videos are very popular. Some website programs do not support this function. I found a powerful FLV Video Player Plug-in that allows you to customize the player UI color and set the player's default image, we recommend it to you.

 

 

It is very easy to use. You only need to modify the corresponding parameters, so there is no need to talk about it here. Let's look at the instance directly.

?

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 = 'Happy start'

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: automatic playback | 1: continuous playback | 100: Default volume | 0: control bar position | 2: control bar display | 0x000033: subject color | 60: subject transparency | 0x66ff00: Halo color | 0 xffffff: icon color | 0 xffffff: text color |: logo text |: logo address | end. flv: End swf address'

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 = seek | 1: continuous playback | 100: Default volume | 0: control bar position | 2: control bar display | 0x000033: subject color | 60: Subject transparency | 0x66ff00: Halo color | 0 xffffff: icon color | 0 xffffff: text color |: logo text |: logo address | end. flv: End swf address ">

<Embed src = "/style/vcastr.swf" wmode = "opaque" flashvars = "vcastr_file = audio | 1: continuous playback | 100: Default volume | 0: control bar position | 2: display in control bar | 0x000033: subject color | 60: Subject transparency | 0x66ff00: Halo color | 0 xffffff: icon color | 0 xffffffff: text color |: logo text |: logo address | end. flv: end swf address "menu =" false "quality =" high "width =" 307 "height =" 182 "type =" application/x-shockwave-flash "pluginspage =" http://www.macromedia.com/go/getflashplayer">

</Object>

</Div>

The above is all the content of this article. I hope you will like it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.