A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: how do they embed the flv

  1. #1
    Member
    Join Date
    Aug 2003
    Location
    Earf
    Posts
    69

    how do they embed the flv

    Hello,
    I came across a site:
    http://www.onsitevideos.com/

    I cant figure out how they embed their flv. Any ideas?

    Thanks,
    computerpain

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    I'm not sure I'm following exactly what you're curious about, but they're green screen videos that have had their backgrounds removed before they're brought into Flash. Then they're embedded on the page with a transparent background (wmode="transparent"), and they use javascript to keep them in the lower right hand corner of the page.

  3. #3
    Member
    Join Date
    Aug 2003
    Location
    Earf
    Posts
    69
    I guess I could not see the <object> or <embed> tag for the video. So I was not sure what technique they where using to embed the flvs.

    So they don't use CSS to absolutely position the flv in the bottom right?

    Can you point me in the right direction to learn about positioning an element with javascript?

    Thanks,
    POJ

  4. #4
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    Ah. Well you're right, they're not just putting the embed code into the page. The HTML is kind of a mess, but they have a few javascript files attached to the page, so it's likely the Flash files are being placed into the page that way.

    Absolute positioning wouldn't keep the person at the bottom of the screen. Fixed positioning would, but IE6 doesn't support that. So for IE6 you have to use javascript. Here's an example: http://www.cssplay.co.uk/layouts/fixed.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center