Skip to Content

Gareth53.co.uk - the online home of Gareth Senior

Embedding Flash

2:08p.m., Tue 21 Nov 2006

This is good: http://blog.deconcept.com/swfobject/

The swfObject.js does all the detection and writes in the flash object if the user's browser can handle it. What's good about the script though, is that it writes the flash object to an existing element, overwriting whatever's already there. This makes it easy to do a non-flash version for your lo-fi users, and for that minority who disable javascript. Nice. It's in operation on the RadioTimes.com homepage at the time of writing. Try disabling javascript and see what happens.

Latest Posts

  • Muppets Birthday Card

    5:47p.m., 28 Nov

    Emma loves The Muppets. She even has her own Muppet who we call Emma Too and who was born at ...
  • Detecting Online Status In The Browser

    11:55a.m., 28 Nov

    I was just heading into a meeting when I was asked how our (mostly web-based) iOS application was going to ...
  • Dropping Support for Internet Explorer 6

    2:37p.m., 11 Oct

    Microsoft's Internet Explorer 6 has long been the bane of every front-end developer's life. It's a 10-year old browser - ...
  • Xfm Buzz - A Radio Hack

    1:15p.m., 31 May

    At Global Towers we developers have 10% time to go away and hack at something that might, ultimately, bring value ...

Blog Categories