SWFObject 2 HTML and JavaScript generator v1.2

Asterisk (*) indicates required field
SWFObject configuration [ - ]
*
 
*
what is this?
 

Static publishing

Description

Embed Flash content and alternative content using standards compliant markup, and use unobtrusive JavaScript to resolve the issues that markup alone cannot solve.

Pros

The embedding of Flash content does not rely on JavaScript and the actual authoring of standards compliant markup is promoted.

Cons

Does not solve 'click-to-activate' mechanisms in Internet Explorer 6+ and Opera 9+ and is harder to author (without using this generator).

Dynamic publishing

Description

Create alternative content using standards compliant markup and embed Flash content with unobtrusive JavaScript.

Pros

Avoids 'click-to-activate' mechanisms in Internet Explorer 6+ and Opera 9+ and is easy to author (even without using this generator).

Cons

The embedding of Flash content relies on JavaScript, so if you have the Flash plug-in installed, but have JavaScript disabled or use a browser that doesn't support JavaScript, you will not be able to see your Flash content, however you will see alternative content instead. Flash content will also not be shown on a device like Sony PSP, which has very poor JavaScript support, and automated tools like RSS readers are not able to pick up Flash content.

*
. .
 
 
*

Specifies the id attribute of the HTML container element that will be replaced with Flash content if enough JavaScript and Flash support is available.

This HTML container will be generated automatically and will embed your alternative HTML content as defined in the HTML section.

 
SWF definition [ - ]
*
 
*
x
 
*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
add
 
 
HTML definition [ - ]
 
 

The object element allows you to nest alternative content inside of it, which will be displayed if Flash is not installed or supported. This content will also be picked up by search engines, making it a great tool for creating search-engine-friendly content.

Summarized, you should use alternative content for the following:

  • When you like to create content that is accessible for people who browse the Web without plugins
  • When you like to create search-engine-friendly content
  • To tell visitors that they can have a richer user experience by downloading the Flash plugin
 
 
 
Generated output [ - ]