SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Wizard
    Join Date
    Dec 2005
    Posts
    1,711
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    swfobject vs object

    Hi all

    Been having a little problem embedding a flash movie, basically just needed to replace <embed> to meet markup standards, I've used the Satay Method using <object> but I've been doing a little scouring of the net and come across swfobject which uses javascript file - <script type="text/javascript" src="swfobject.js"></script>

    It seems like a lot of big sites are using swfobject but then some are using the Satay Method.

    Just wondering what is the best option to use? What do you use?

    Thanks
    Last edited by computerbarry; Dec 3, 2008 at 20:15. Reason: spelling
    The more you learn.... the more you learn there is more to learn.

  2. #2
    SitePoint Evangelist Karpie's Avatar
    Join Date
    Jul 2007
    Location
    Perth, Australia
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use swfobject almost exclusively.

  3. #3
    SitePoint Wizard
    Join Date
    Dec 2005
    Posts
    1,711
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And what if javascript is turned off? Wouldn't it be safer to use <object>?

    or

    Would you recommend <object> for smaller files and use swfobject when you want to stream much bigger files?


    Thanks
    Last edited by computerbarry; Dec 4, 2008 at 06:31. Reason: more information
    The more you learn.... the more you learn there is more to learn.

  4. #4
    SitePoint Wizard bronze trophy Tailslide's Avatar
    Join Date
    Feb 2006
    Location
    Bedford, UK
    Posts
    1,687
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SWFobject has alternative content for if javascript is switched off.
    Little Blue Plane Web Design
    Blood, Sweat & Rust - A Land Rover restoration project

  5. #5
    SitePoint Wizard
    Join Date
    Dec 2005
    Posts
    1,711
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks tailslide I'll have to look into this and get more information, do you use this method yourself?

    thanks
    The more you learn.... the more you learn there is more to learn.

  6. #6
    SitePoint Wizard bronze trophy Tailslide's Avatar
    Join Date
    Feb 2006
    Location
    Bedford, UK
    Posts
    1,687
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On the rare occasions that I actually use Flash then yes up to now I've used SWFobject.
    Little Blue Plane Web Design
    Blood, Sweat & Rust - A Land Rover restoration project

  7. #7
    SitePoint Addict
    Join Date
    Feb 2007
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SWFObject uses two different approaches, one static and one dynamic. Either one includes the ability to provide alternate content. It works so well even Adobe is dropping their own "Flash Player Detection Kit" in favor of it.

  8. #8
    SitePoint Wizard
    Join Date
    Dec 2005
    Posts
    1,711
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds good Arlen have you got any links to document all of this?

    Cheers
    The more you learn.... the more you learn there is more to learn.

  9. #9
    SitePoint Addict
    Join Date
    Feb 2007
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

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