Several recommended to play FLV files in the web page code

Several recommended to play FLV files in the web page code to use:

Method One, js embedded

Directly copy the following code, modify the red part, that: swf_width, swf_height, texts, files parameters

<script type="text/javascript">
var swf_width = 240
var swf_height = 240
var texts = 'happy feet trailer'
var files = 'http://www.ruochi.com/product/vcastr/flv/happy_feet.flv'
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.ruochi.com/product/vcastr2/vcastr22.swf"> <param name="quality" value="high">');
document.write ('<param name="menu" value="false"> <param name="allowFullScreen" value="true" />');
document.write ('<param name="FlashVars" value="vcastr_file='+files+'&vcastr_title='+texts+'">');
document.write ('<embed src = "http://www.ruochi.com/product/vcastr2/vcastr22.swf" allowFullScreen = "true" FlashVars = "vcastr_file =' + files + '& vcastr_title =' + texts + '" 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>
Of which:
Happy feet trailer for the title.
http://www.ruochi.com/product/vcastr/flv/happy_feet.flv is the FLV file address.
http://www.ruochi.com/product/vcastr2/vcastr22.swf FLV file player that address (if you do not make, you can download and then upload it to other people their own space and then calls).
Vcastr 2.0 download flv player
http://www.ruochi.com/product/vcastr2/vcastr22.zip

Second method, a simple and direct transfer video address

<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 =" 240 "height =" 180 ">
<Param name = "movie" value = "http://www.ruochi.com/product/vcastr2/vcastr22.swf?vcastr_file=http://www.ruochi.com/product/vcastr/flv/happy_feet.flv" >
<param name="quality" value="high">
<param name="allowFullScreen" value="true" />
<Embed src = "http://www.ruochi.com/product/vcastr2/vcastr22.swf?vcastr_file=http://www.ruochi.com/product/vcastr/flv/happy_feet.flv" allowFullScreen = "true" quality = "high" pluginspage = "http://www.macromedia.com/go/getflashplayer" type = "application / x-shockwave-flash" width = "240" height = "180"> </ embed>
</ Object>

Method three, read movie xml

<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 =" 240 "height =" 120 ">
<param name="movie" value="http://www.ruochi.com/product/vcastr2/vcastr22.swf?vcastr_xml=http://www.ruochi.com/product/vcastr2/vcastr.xml">
<param name="quality" value="high">
<param name="allowFullScreen" value="true" />
<Embed src = "http://www.ruochi.com/product/vcastr2/vcastr22.swf?vcastr_xml=http://www.ruochi.com/product/vcastr2/vcastr.xml" allowFullScreen = "true" quality = "high" pluginspage = "http://www.macromedia.com/go/getflashplayer" type = "application / x-shockwave-flash" width = "240" height = "120"> </ embed>
</ Object>
Where: http://www.ruochi.com/product/vcastr/vcastr.xml is the playlist xml address

Advanced Options

<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 =" 240 "height =" 180 ">
<Param name = "movie" value = "http://www.ruochi.com/product/vcastr2/vcastr22.swf?vcastr_file=http://www.ruochi.com/product/vcastr/flv/happy_feet.flv" >
<param name="quality" value="high">
<param name="allowFullScreen" value="true" />
<Embed src = "http://www.ruochi.com/product/vcastr2/vcastr22.swf?vcastr_file=http://www.ruochi.com/product/vcastr/flv/happy_feet.flv" allowFullScreen = "true" quality = "high" pluginspage = "http://www.macromedia.com/go/getflashplayer" type = "application / x-shockwave-flash" width = "240" height = "180"> </ embed>
</ Object>

<http://www.ruochi.com/product/vcastr2/vcastr22.swf? Parameters A=111& Parameters B=222&....>
In the above "parameter A = 111 & parameters B = 222" part of the added parameters, use the format parameter = value, multiple parameters with the & connected, does not limit the number of parameters, note that there are two red http://www.ruochi.com / product/vcastr2/vcastr22.swf need to modify the local

For example:

value = "http://www.ruochi.com/product/vcastr2/vcastr22.swf?vcastr_file=http://www.ruochi.com/product/vcastr/flv/happy_feet.flv&vcastr_title = happy feet trailer & BarColor = 0xFF6600 & BarPosition = 1 "
Said video address is "http://www.ruochi.com/product/vcastr/flv/happy_feet.flv", entitled "Trailer Transformers", the control bar color is 0xFF6600, position the control bar at the bottom.

<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 =" 500 "height =" 224 ">
<Param name = "movie" value = "http://www.ruochi.com/product/vcastr2/vcastr22.swf?vcastr_file=http://www.ruochi.com/product/vcastr/flv/happy_feet.flv&vcastr_title = happy feet trailer & BarColor = 0xFF6600 & BarPosition = 1 ">
<param name="quality" value="high">
<param name="allowFullScreen" value="true" />
<Embed src = "http://www.ruochi.com/product/vcastr2/vcastr22.swf?vcastr_file=http://www.ruochi.com/product/vcastr/flv/happy_feet.flv&vcastr_title = happy feet notice film & BarColor = 0xFF6600 & BarPosition = 1 "allowFullScreen =" true "quality =" high "pluginspage =" http://www.macromedia.com/go/getflashplayer "type =" application / x-shockwave-flash "width =" 500 " height = "224"> </ embed>
Parameter Name Parameter Description Default
vcastr_file Method 2 movie flv file to pass the address argument, a number of use | separate space
vcastr_title video title parameter, a number of use | to separate air in conjunction with Method 2
vcastr_xml movie flv file transfer method 3 address parameter, the model reference http://www.ruochi.com/product/vcastr2/vcastr.xml vcastr.xml
IsAutoPlay Autoplay video parameters: 0 for no auto play, one that automatically plays 0
IsContinue video continuous playback parameters: 0 for no continuous play, 1 broadcast a continuous loop
IsRandom Shuffle video parameters: 0 for no random play, 1 shuffle 0
DefaultVolume :0-100 default volume parameter value, set the default volume size of 100 movie starts
BarPosition control bar position parameters: 0 for floating on the video display, said in the video shown below 1 0
IsShowBar control column shows the parameters: 0 for no display; 1 is always displayed; 2 that is displayed when the mouse hover; 3 that started not show the mouse hover display 2 after
BarColor playback control bar color, the color is 16 hexadecimal numbers begin with 0x said 0x000033
BarTransparent playback control bar to transparent 60
GlowColor button icon colors and color, 16 hexadecimal numbers begin with 0x said 0x66ff00
IconColor glow when mouse over the color, the color is 16 hexadecimal numbers begin with 0x said 0xFFFFFF
TextColor player text color, colors begin to 0x hexadecimal digits 0xFFFFFF 16
LogoText can add your own site name and other information (in English) empty
LogoUrl can read the logo image from the outside, pay attention to their own adjustments logo size, supported image formats and swf format empty
EndSwf after the end of video playback, read from an external swf file, you can add information related videos, video sharing and other information required to produce their own space
BeginSwf before the movie starts playing, reading from an external swf file, you can add ads, or Web site information is required to produce their own space
IsShowTime whether to display time: 0 for no display of time, 1 time for 1 show
BufferTime video buffer time, the unit (s) 2
Frequently Asked Questions

Q: Logo text can not be displayed Answer: Logo text can not support Chinese, can be made with LogoUrl parameters Logo. Swf files or. Png files.
Q: xml how to set the advanced parameters A: The following
<Param name = "FlashVars" value = "vcastr_xml = http://www.ruochi.com/product/vcastr2/vcastr.xml&vcastr_title = happy feet Trailer | Transformers Trailer | South MV | World of Warcraft - Good Night Tribal & BarColor = 0xFF6600 & BarPosition = 1 "/>
<Embed src = "http://www.ruochi.com/product/vcastr2/vcastr2.swf" allowFullScreen = "true" FlashVars = "vcastr_xml = http://www.ruochi.com/product/vcastr2/vcastr.xml&vcastr_title = happy feet Trailer | Transformers Trailer | South MV | World of Warcraft - Night Tribe & BarColor = 0xFF6600 & BarPosition = 1 ">
Q: Can not full-screen Answer: more than you need to upgrade to flashplayer9.0 Q: Can not exit Full Screen A: Double-click to enter or exit the full screen Q: The film does not drag the progress Answer: convert file format is due to loss of information when there are can be Use FLV MetaData Injector repair, download address: http://www.buraks.com/flvmdi;
Q: flv on your server to not play the A: Yes, because your server does not support. Flv file format to download, modify into other formats such as. Swf, of course, the corresponding vcastr_file or vcastr_xml the flv file name should change into. swf

Note: The most simple way:
http://www.qqywf.com/show/flv.swf?url = address here for FLV video

分类:Internet 时间:2010-11-02 人气:146
分享到:
blog comments powered by Disqus

相关文章

  • 020 pass parameters to the script 2010-08-30

    As already mentioned how to use a specific variable $ 1.. $ 9 pass parameters to the script. $ # The number of parameters used for statistical pass. Can create a usage statement, required to notify the user when the appropriate call parameters of how

  • nginx gzip duplicate MIME type "text / html" 2010-09-14

    Instruction [# Gzip gzip] [# Gzip_buffers gzip_buffers] [# Gzip_comp_level gzip_comp_level] [# Gzip_min_length gzip_min_length] [# Gzip_http_version gzip_http_version] [# Gzip_proxied gzip_proxied] [# Gzip_types gzip_types] After the upgrade to the l

  • SQL statement tuning _SQL data type to pass parameters table index field type consistent 2010-10-27

    SQL statement tuning _SQL data type to pass parameters table index field type consistent Today in a production database, found a TOP SQL , SQL itself is very simple, but COST is very large (implementation plan to go full table scan), SQL statement is

  • 如何用正则取input type="text"中的value 2014-02-04

    1.如何通过正则取input type="text"中的value呢? 2.如何过滤掉input type="checkbox"的标签? 这样只能达到正则取input type="text"中的value可是不能过滤掉input type="checkbox"的标签! alert [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] alert [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] 解决: aler

  • The data type javascript. Object and Function 2011-01-03

    1. Data Types javascript contains six kinds of data types: undefined, null, string, number, boolean, and object. These, the first 5 of the original data type, object is the object type. object types, including Object, Function, String, Number, Boolea

  • Web page files to the middle and left-aligned the same compression type ... (the question is mentally handicapped) 2010-04-28

    First of all, the body tag in the HTML file to add center tags: As <body> <center> <div> dosomething </ Div> </ Center> </ Body> Which join the corresponding css # All ( background: url (. / images / background.gif) no-

  • The type java.lang.Object cannot be resolved.It is 2009-10-26

    Thank you for the inaction of Quote 1, The type java.lang.Object cannot be resolved.It is indirectly referenced from required.class files. Information appear to be happening because you installed multiple versions of the relationship between the jre

  • The type java.lang.Object cannot be resolved It is indirectly referenced ... 2010-03-25

    The type java.lang.Object cannot be resolved. It is indirectly referenced from required. Class files When you reference different versions of the JDK in the Eclipse projects, the problem occurs. The application development environment because you hav

  • Python difference in the type and the Object 2011-05-15

    When beginner Python, on the definition of class, to select the object is written in brackets, or type and frustration. In view of the Python's API, the finally understand. Are summarized as follows: First look at the description of object: Python no

  • Error!] The type java.lang.object cannot be resolved. It is indirectly referenced 2011-09-19

    MyEclipse following error when importing a project, checked, import all the normal package Error!] The type java.lang.object cannot be resolved. It is indirectly referenced from required. Class files Looking for a long time, it was found, the origina

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.409 (s). 14 q(s)