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 人气:300
分享到:
blog comments powered by Disqus

相关文章

  • jquery custom attributes, to resolve the issue by value List of button 2010-07-27

    JQuery on the front with a standard code, encountered some problems. Collection of data on the traverse, the operation of a single data, add, delete, change, check, need to pass some parameters for background processing. I used the label in the proje

  • Struts 2 and AJAX (Part III) 2010-12-19

    http://www.blogjava.net/max/archive/2007/08/16/137363.html BLOG has not been updated for a long time, the company's projects for some time before the busy, and I still friends with a publisher to write about the book thing, so have no time to complet

  • Google Map with the Flex application development 2010-04-05

    Document options <noscript> </ noscript> <noscript> <tr valign="top"> <td width="8"> <img alt = "" height = "1" width = "8" src = " / / www.ibm.com / i / c.gif "/

  • struts2 easyui plug-in pagination to DataGrid 2010-05-03

    Tested struts2 jquery pagination to DataGrid instance. Official website using the etmvc, very new, functional look good, but the real development that should be very few people would want in their own projects to take the risk it does not mean that e

  • js beginner tutorials examples 2010-08-02

    Display text with JS example: <html> <body> <script type="text/javascript"> document.write ("Hello World!") </ Script> </ Body> </ Html> HTML tags to format text with examples: <html> <body&

  • db db2_monitorTool IBM Rational Performace Tester 2010-08-04

    Use Rational Performance Tester DB2 performance testing and monitoring to achieve http://tech.ddvip.com/2008-09/122155971965952.html http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0801liu/ Best practices and rules of thumb Document

  • Xiang Jie Javascript in this pointer 2010-08-19

    Preface Javascript is a dynamic object-based language, that is, everything is an object, a typical example is the function of the object is regarded as normal. Javascript can be achieved certain design patterns object-oriented programming, which this

  • Ext onReady problem loading page 2010-09-08

    1. Use Ext.onReady (), the internal report found ext null pointer errors, using Null.createChild () a. Use <% request.setAttribute ("decorator", "none"); response.setHeader ("Cache-Control", "no-cache"); / / HTTP

  • zend framework with Jquery the page load to achieve more than one page 2010-10-21

    To achieve more than a page page, not to affect the production of other pages Source orderscheck.phtml page <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script> <div></div> <div></div&

  • zend framework with Jquery to load multiple pages to implement a page 2010-10-21

    To achieve more than a page page, not to affect the production of other pages Source orderscheck.phtml page <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script> <div></div> <div></div&

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

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

CodeWeblog.com 版权所有 闽ICP备15018612号

processed in 0.148 (s). 12 q(s)