Published 8 years 10 months ago on November 6, 2006 — 5 min read
How do you provide alternate content?
Many articles have been written on the best way to provide alternate content. The various methods have their pros and cons as always. I have my personal choices for which technique to use as I’m sure you do too. What I’d like to do is bring up the methods I’m currently using, and leave the floor open for critiques and suggestions based on your personal methods.
Flash: Unobtrusive Flash Objects and SWFObject
There has been much debate over time as to which method for including Flash is best. Andrew Kirkpatrick posted quite a lengthy writeup comparing various techniques that is worth a read. Of all the techniques, I lean towards Unobtrusive Flash Objects. I was first introduced to UFO by a co-worker some time ago, and personally think it’s the way to go when it comes to including a Flash piece into your website. UFO is best defined by its author:
UFO is a DOM script that detects the Flash plug-in and embeds Flash objects (files with the .swf extension). It has its roots in the Web Standards community and is designed to support W3C standards compliant, accessible and search engine friendly web design. It also contains several features and best practice techniques that other scripts currently don’t have. UFO is free, licensed under the CC-GNU LGPL and an Open Source Flash Project.
The UFO site offers a large amount of information regarding why you should use something like UFO over previous methods of including Flash in documents. It is an extremely comprehensive solution and in my opinion, the best one out there. Not only does the script detect the presence of Flash, you can designate which version of Flash your SWF is using as to not display a partially functioning Flash piece to your readers.
There’s also SWFObject (Formerly FlashObject)
Internet Explorer Benefits
Whether you decide to use UFO or SWFObject, the benefits for Internet Explorer alone should be quite desirable. As you probably know, Internet Explorer now provides what is referred to as an Active Content Update which is an invasive technique requiring a user to make an extra click in order to enable a variety of technologies, Flash being one of them. Both UFO and SWFObject act as ‘workarounds’ to this, and can provide a beneficial experience to your reader.
Fallbacks to the technique