Search Engine Friendly Flash with swfobject.js

Made Essential Reading on 17 February 2010 Mike Harrison



A few years back I never thought it would be possible to make Flash friendly to search engines but it is now thanks to a great bit of javascript.

SWFObject (originally known as FlashObject) is not only a reliable method of adding flash content to your webpage but also allows you to provide alternative HTML content for non-Flash and/or non-Javascript browsers. This alternative content is also your avenue to make your flash searchable.

Alternative content in a DIV
Before applying the flash via swfobject.js create your alternative flash content. Create a DIV, give it an ID and add the alternative content. This can consist of any HTML you like and include for example:

  • images
  • links from the flash
  • descriptive text
  • different layouts

Anything you like!

Flash Swapping on document onload

swfobject.js simply replaces your

alternative content, based on the ID, with your flash video swf when the page loads and doesn’t if:
  • the browser doesn’t read flash files
  • the browser has javascript disabled
  • if google or any other search engine is snooping through your site

Google Optimised!

Because Google doesn’t initialise flash and/or javascript when it snoops through your website. It reads your alternative content instead and therefore it Optimises your Flash!

Links:

http://code.google.com/p/swfobject/

http://www.hochmanconsultants.com/articles/seo-friendly-flash.shtml


Recent Posts

Tag Cloud

Audio B2B B2B marketing Barcode Blog Charity CNN co-op fund Code Content Content Marketing co op co op management design Digital digital marketing Email email marketing email marketing tips Essential Communications Facebook Flash fund management Google html Internet iPhone IT channel Javascript marketing mdf Media Mobile planning PR QR Retail SEO Social Media technology Twitter Video Web workshop YouTube

Meta

The Essential Blog is proudly powered by WordPress and the SubtleFlux theme.

Copyright © The Essential Blog