How to Use the js flv Video Player Plug-in and jsflv plug-in
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.
<Div class = "txt1"> <script type = "text/javascript"> var swf_width = 307var swf_height = 182var texts = 'Happy star Hamburg '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 = http://v.78.cn/kuailexing/sp.flv&vcastr_title=happy star burger &vcastr_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 "> <embed src ="/style/vcastr.swf "wmode =" opaque "flashvars =" vcastr_file = prop | 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 "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.