Re: Embedding flash in local HTML page

Discussion in 'HTML' started by cwdjrxyz, Oct 13, 2011.

  1. cwdjrxyz

    cwdjrxyz Guest

    On Oct 13, 9:33 am, Christian <christian@_nospam.com> wrote:
    > Hello,
    >
    > I want to get the swf from this pagehttp://www.forexpros.fr/indices/france-40
    >
    > But if I copy the following code from the source(<object classid ...
    > </object>) to embed it inside an empty HTML page, it doesn't work
    > Have you an idea ?
    > Thanks.
    >
    > <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    > codebase="http://download.macromedia.com/pub/shockwave/cabs/flash
    > /swflash.cab#version=9,0,0,0" width="520" height="300" id="LiveChart"
    >   align="middle"><param name="allowScriptAccess" value="sameDomain"
    > /><param name="allowFullScreen" value="false" /><param
    > name="movie"value="/common/fchart/LiveChartV96.swf" /><param
    > name="quality" value="high" /><param name="bgcolor" value="#ffffff"
    > /><param name="FlashVars"
    > value="FrameColor=0x000000&CurrentColor=0x00ff00&LineColor=0x303060&FillColor=0x000000&
    > CrossColor=0x000000&ValuesHColor=0x222222&ValuesVColor=0x222222&VblocksNum=7&HblocksNum=7&PairInterval=300&CandleCount=120&
    > ShowFrame=true&ShowName=true&ShowLastValue=false&ShowHighLow=false&ShowTickDirection=true&ShowChange=false&ShowValueMarker=true&
    > ForceURL=/common/fchart
    > /&PointFirst=4&PointEvery=12&CandleUpColor=0x009900&
    > CandleDownColor=0x880000&Type=line&SelfUpdate=0&ShowWatermark=false&PairID=167"
    > /><embed src="/common/fchart/LiveChartV96.swf"
    > quality="high" bgcolor="#ffffff" width="520" height="300"
    > name="LiveChart" align="middle" allowScriptAccess="sameDomain"
    > allowFullScreen="false" type="application/x-shockwave-flash"
    > pluginspage="http://www.adobe.com/go/getflashplayer"
    > FlashVars="FrameColor=0x000000&CurrentColor=0x00ff00&LineColor=0x303060&FillColor=0x000000&CrossColor=0x000000&ValuesHColor=0x222222&
    > ValuesVColor=0x222222&VblocksNum=7&HblocksNum=7&PairInterval=300&CandleCount=120&ShowFrame=true&ShowName=true&ShowLastValue=false&
    > ShowHighLow=false&ShowTickDirection=true&ShowChange=false&ShowValueMarker=true&ForceURL=/common/fchart/&PointFirst=4&
    > PointEvery=12&CandleUpColor=0x009900&CandleDownColor=0x880000&Type=line&SelfUpdate=0&ShowWatermark=false&PairID=167"
    > /></object>    


    This appears to be a modern flv/swf video where the flv is the video
    information and swf is a container file that may include many player
    options for style of player, links, text, icons, etc. When you call
    the swf file, the server automatically starts downloading the flv file
    to a temporary cache on your computer, so the flv need not be
    mentioned in the page source code. You need the flv file, and some
    programs will find and download the flv. A recent Real player will do
    this. However if you try this on the page of interest to you, the Real
    player gives a message that this clip is not downloadble from this
    site. Either the flv is protected, or the swf is so complicated with
    other links, etc. that the Real player downloader will not work. There
    could be some other flv downloader that would work. Once you have the
    flv, then you need a flash video encoder that will accept a flv as
    input and allow you to write your own swf container file at the same
    time. The output is both a flv and a swf container file that should be
    in the same directory on your server. Once you have this set up, then
    you can write a page that embeds the video.

    Sites that want you to embed there video, such as YouTube, supply
    simple code to do so. If such code is not provided, you often have to
    jump through hoops as described above.
     
    cwdjrxyz, Oct 13, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bernie
    Replies:
    0
    Views:
    603
    Bernie
    Sep 5, 2004
  2. Replies:
    8
    Views:
    23,569
    SABOND21
    Feb 9, 2012
  3. Replies:
    5
    Views:
    553
  4. idle
    Replies:
    1
    Views:
    398
    Jonathan N. Little
    Oct 13, 2011
  5. richard
    Replies:
    0
    Views:
    385
    richard
    Oct 13, 2011
Loading...

Share This Page