Embed Flash video __html in HTML

Source: Internet
Author: User

Embedded in the HTML Flash video, swfobject embedded Way online has flooded, here is only one way to use object embedding method. Personal use after very good, but also very simple.

A screenshot of the first file

Code again.

<div id= "Flash" style= "" > <object type= "Application/x-shockwave-flash" Data= "images/swf/vcastr3.swf"
        Width= "100%" height= "100%" id= "VCASTR3" >
        <param name= "movie" value= "vcastr3.swf" >
        <param name= " allowFullScreen "value=" true ">
        <param name=" flashvars "value=" Xml=images/swf/vcastr.xml ">
        </ Object>
    </div>


See here in the three files, vcastr3.swf is actually a container, the real display file is show.flv, where Vcastr.xml is configured flashvars values, the XML file is as follows:

<?xml version= "1.0" encoding= "Utf-8"?> <vcastr> <channel> <item> <sour ce>./show.flv</source> <duration></duration> <title>your video</title> </item&		
	Gt </channel> <config> <bufferTime>4</bufferTime> <contralpanelalpha>0.55</ Contralpanelalpha> <controlPanelBgColor>0xEDB307</controlPanelBgColor> <controlpanelbtncolor >0xffffff</controlPanelBtnColor> <CONTRALPANELBTNGLOWCOLRO>0XFFFF00</CONTRALPANELBTNGLOWCOLRO > <controlPanelMode>normal</controlPanelMode> <defautVolume>0.7</defautVolume> < Isautoplay>true</isautoplay> <isLoadBegin>true</isLoadBegin> <isshowabout>false</ isshowabout> <scaleMode>showAll</scaleMode> <isRepeat>true</isRepeat> </config> & Lt;plugins> </plugIns> </vcastr> 


Obviously, the source value of the configuration is show.flv, and the rest is understood by literal means.

It's so simple.

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.