Embed FLV video files in HTML

Source: Internet
Author: User
Tags flv file

1. Download flvplayer.swf.

2. Create an XML configuration file.

<?xml version= "1.0" encoding= "Utf-8"?> <vcaster> <item item_url= "flv path" item_title= "FLV title" ;</item> <item item_url= "flv path" item_title= "flv title" ></item> </vcaster>

3. In the body of the HTML:

  <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=" 470 " height=" 310 " wmode=" opaque ">    <param name=" movie " value="/global/flv/ Flvplayer.swf?vcastr_xml=/global/flv/flv.xml&isautoplay=1&iscontinue=1&israndom=1 ">     <param name= "Quality"  value= "High" >    <param name= " Wmode " value=" Transparent "/>    <param name=" allowfullscreen " value=" True ">    <embed src="/global/flv/flvplayer.swf?vcastr_xml=/global/flv/flv.xml &isautoplay=1&iscontinue=1&israndom=1 "  wmode=" Transparent " allowfullscreen=" true "   quality= "High"  pluginspage= "Http://www.macromedia.com/go/getflashplayer"  type= " Application/x-shockwave-flash " wIdth= "470"  height= "310"  windowlessvideo= "1" ></embed>    </object> 

PARAM tags are used by IE, embed tags are used by Firefox and Google.


4. Parameter Description:

Parameter name
Description
Default value
Vcastr_file Pass the movie FLV file address parameter, multiple use | separate Empty
Vcastr_title Movie title parameter, multiple use | separate, use with vcastr_file Empty
Vcastr_xml Pass the movie FLV file address parameter
Isautoplay Movie AutoPlay parameters: 0 means no AutoPlay, 1 means autoplay 0
Iscontinue Movie Continuous playback parameters: 0 for non-sequential playback, 1 for continuous cyclic broadcast 1
Israndom Movie Shuffle parameters: 0 means no random play, 1 means random play 0
Defaultvolume Default Volume parameter: 0-100 value, set movie start default volume size 100
Logourl Can read the logo image from the outside, pay attention to adjust the logo size, support image format and SWF format Empty
endswf After the movie playback, from the external read SWF file, you can add related movie information, video sharing and other information, need to make their own Empty
beginswf Before the movie starts playing, read the SWF file from the outside, you can add ads, or website information, you need to make Empty
Isshowtime Show Time: 0 indicates no time, 1 indicates time 1
BufferTime Movie Buffer time, unit (seconds) 2

P.S. The parameters section can also be Baidu, there will be more detailed explanation.






Embed FLV video files in HTML

Related Article

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.