<?xml version="1.0" encoding="UTF-8"?>
<blog-post>
  <author-id type="integer">48617</author-id>
  <blog-comments-count type="integer">0</blog-comments-count>
  <blog-post-status-id type="integer">3</blog-post-status-id>
  <body-format>econsultancy_xml</body-format>
  <body-formatted>
  &lt;p&gt;As Bobby van der Sluis at A List Apart &lt;a href="http://www.alistapart.com/articles/flashembedcagematch"&gt;explains&lt;/a&gt;, a simple implementation of the embed/object tags alone isn't perfect.&lt;/p&gt;
  &lt;p&gt;Fortunately, the techniques of a solid embedding method can be found in &lt;a href="http://groups.google.com/group/swfobject"&gt;SWFObject 2&lt;/a&gt;, a JavaScript that is used to embed Flash content.&lt;/p&gt;
  &lt;p&gt;As per the documentation, SWFObject 2:&lt;br /&gt;&lt;/p&gt;
  &lt;ul&gt;
    &lt;li&gt;Detects the Flash Player version a user has installed and determines whether to show Flash content or alternative content. &lt;/li&gt;
    &lt;li&gt;Doesn't require vendor-specific markup. &lt;/li&gt;
    &lt;li&gt;Implements standards and best practices. &lt;/li&gt;
    &lt;li&gt;Can eliminate the "&lt;em&gt;click-to-activate&lt;/em&gt;" requirements that some browsers (notably certain versions of Internet Explorer) have due to the &lt;a href="http://en.wikipedia.org/wiki/Eolas"&gt;Eolas&lt;/a&gt; patent.&lt;br /&gt;Will replace the current official &lt;a href="http://www.adobe.com/products/flashplayer/download/detection_kit/"&gt;Adobe Flash Player Detection Kit&lt;/a&gt; in a future version of Flash. &lt;/li&gt;
  &lt;/ul&gt;
To get started with SWFObject 2:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/swfobject/downloads/list"&gt;Download&lt;/a&gt; the code from Google Code.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Place the SWFObject 2 file in a directory that is accessible by your website's web pages.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Include the SWFObject 2 JavaScript file on the web pages that will use it. Example:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&amp;lt;script type="text/javascript" src="swfobject.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Decide whether to use the static publishing or dynamic publishing methods that SWFObject 2 offers. The &lt;a href="http://code.google.com/p/swfobject/wiki/documentation"&gt;documentation&lt;/a&gt; details the advantages of both.&lt;br /&gt;&lt;br /&gt;Because I typically use SWFObject 2 to remove any Internet Explorer "&lt;em&gt;click-to-activate&lt;/em&gt;" requirement and I know that the most of the visitors to my websites have JavaScript enabled, I tend to use the dynamic publishing method but your needs may make the static publishing method more appropriate.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Follow the instructions on the SWFObject 2 &lt;a href="http://code.google.com/p/swfobject/wiki/documentation"&gt;documentation page&lt;/a&gt; to embed your Flash content in a web page using the method you've chosen.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;
There's a &lt;a href="http://www.gotoandlearn.com/player.php?id=77"&gt;nifty video tutorial&lt;/a&gt; for SWFObject 2 at gotoAndLearn.com and if you run into any problems, there's &lt;a href="http://groups.google.com/group/swfobject"&gt;a group&lt;/a&gt; on Google Groups that may also be of help.&lt;br /&gt;&lt;br /&gt;Happy embedding!</body-formatted>
  <body-unformatted>&lt;FormattedContent xmlns="http://www.e-consultancy.com/schema/formattedContent/"&gt;
  &lt;Paragraph&gt;As Bobby van der Sluis at A List Apart &lt;Link URL="http://www.alistapart.com/articles/flashembedcagematch" Window="Self"&gt;explains&lt;/Link&gt;, a simple implementation of the embed/object tags alone isn't perfect.&lt;/Paragraph&gt;
  &lt;Paragraph&gt;Fortunately, the techniques of a solid embedding method can be found in &lt;Link URL="http://groups.google.com/group/swfobject" Window="Self"&gt;SWFObject 2&lt;/Link&gt;, a JavaScript that is used to embed Flash content.&lt;/Paragraph&gt;
  &lt;Paragraph&gt;As per the documentation, SWFObject 2:&lt;LineBreak /&gt;&lt;/Paragraph&gt;
  &lt;List Type="Disc"&gt;
    &lt;ListItem&gt;Detects the Flash Player version a user has installed and determines whether to show Flash content or alternative content. &lt;/ListItem&gt;
    &lt;ListItem&gt;Doesn't require vendor-specific markup. &lt;/ListItem&gt;
    &lt;ListItem&gt;Implements standards and best practices. &lt;/ListItem&gt;
    &lt;ListItem&gt;Can eliminate the "&lt;Quote&gt;click-to-activate&lt;/Quote&gt;" requirements that some browsers (notably certain versions of Internet Explorer) have due to the &lt;Link URL="http://en.wikipedia.org/wiki/Eolas" Window="Self"&gt;Eolas&lt;/Link&gt; patent.&lt;LineBreak /&gt;Will replace the current official &lt;Link URL="http://www.adobe.com/products/flashplayer/download/detection_kit/" Window="Self"&gt;Adobe Flash Player Detection Kit&lt;/Link&gt; in a future version of Flash. &lt;/ListItem&gt;
  &lt;/List&gt;
To get started with SWFObject 2:&lt;LineBreak /&gt;&lt;List Type="Numeric"&gt;&lt;ListItem&gt;&lt;Link URL="http://code.google.com/p/swfobject/downloads/list" Window="Self"&gt;Download&lt;/Link&gt; the code from Google Code.&lt;LineBreak /&gt;&lt;LineBreak /&gt;&lt;/ListItem&gt;&lt;ListItem&gt;Place the SWFObject 2 file in a directory that is accessible by your website's web pages.&lt;LineBreak /&gt;&lt;LineBreak /&gt;&lt;/ListItem&gt;&lt;ListItem&gt;Include the SWFObject 2 JavaScript file on the web pages that will use it. Example:&lt;LineBreak /&gt;&lt;LineBreak /&gt;&lt;Quote&gt;&amp;lt;script type="text/javascript" src="swfobject.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/Quote&gt;&lt;LineBreak /&gt;&lt;LineBreak /&gt;&lt;/ListItem&gt;&lt;ListItem&gt;Decide whether to use the static publishing or dynamic publishing methods that SWFObject 2 offers. The &lt;Link URL="http://code.google.com/p/swfobject/wiki/documentation" Window="Self"&gt;documentation&lt;/Link&gt; details the advantages of both.&lt;LineBreak /&gt;&lt;LineBreak /&gt;Because I typically use SWFObject 2 to remove any Internet Explorer "&lt;Quote&gt;click-to-activate&lt;/Quote&gt;" requirement and I know that the most of the visitors to my websites have JavaScript enabled, I tend to use the dynamic publishing method but your needs may make the static publishing method more appropriate.&lt;LineBreak /&gt;&lt;LineBreak /&gt;&lt;/ListItem&gt;&lt;ListItem&gt;Follow the instructions on the SWFObject 2 &lt;Link URL="http://code.google.com/p/swfobject/wiki/documentation" Window="Self"&gt;documentation page&lt;/Link&gt; to embed your Flash content in a web page using the method you've chosen.&lt;LineBreak /&gt;&lt;/ListItem&gt;&lt;/List&gt;
There's a &lt;Link URL="http://www.gotoandlearn.com/player.php?id=77" Window="Self"&gt;nifty video tutorial&lt;/Link&gt; for SWFObject 2 at gotoAndLearn.com and if you run into any problems, there's &lt;Link URL="http://groups.google.com/group/swfobject" Window="Self"&gt;a group&lt;/Link&gt; on Google Groups that may also be of help.&lt;LineBreak /&gt;&lt;LineBreak /&gt;Happy embedding!&lt;/FormattedContent&gt;</body-unformatted>
  <created-at type="datetime">2008-07-06T02:23:00+01:00</created-at>
  <enabled-blog-comments-count type="integer">0</enabled-blog-comments-count>
  <expertise-level-id type="integer">1</expertise-level-id>
  <extract-format>econsultancy_xml</extract-format>
  <extract-formatted>
  &lt;p&gt;
    &lt;strong&gt;Embedding Flash content into a web page seems simple and in theory, it is.&lt;/strong&gt;
  &lt;/p&gt;
  &lt;p&gt;But if you're using embed/object tags alone to embed Flash content,&#160;potential issues lurk under the surface.&lt;/p&gt;
</extract-formatted>
  <extract-unformatted>&lt;FormattedContent xmlns="http://www.e-consultancy.com/schema/formattedContent/"&gt;
  &lt;Paragraph&gt;
    &lt;Emphasis&gt;Embedding Flash content into a web page seems simple and in theory, it is.&lt;/Emphasis&gt;
  &lt;/Paragraph&gt;
  &lt;Paragraph&gt;But if you're using embed/object tags alone to embed Flash content,&#160;potential issues lurk under the surface.&lt;/Paragraph&gt;
&lt;/FormattedContent&gt;</extract-unformatted>
  <featured type="boolean">false</featured>
  <id type="integer">2577</id>
  <learn-more-formatted>&lt;p&gt;For best practice web design, see Econsultancy's &lt;strong&gt;&lt;a href="http://econsultancy.com/reports/effective-web-design-best-practice-guide"&gt;Effective Web Design Guide&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;</learn-more-formatted>
  <learn-more-unformatted>&lt;p&gt;For best practice web design, see Econsultancy's &lt;strong&gt;&lt;a href="http://econsultancy.com/reports/effective-web-design-best-practice-guide"&gt;Effective Web Design Guide&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;</learn-more-unformatted>
  <legacy-article-id type="integer">365924</legacy-article-id>
  <name>Embedding Flash content using SWFObject 2</name>
  <private type="boolean">false</private>
  <published-at type="datetime">2008-07-11T08:45:00+01:00</published-at>
  <slug>embedding-flash-content-using-swfobject-2</slug>
  <tweetbacks-updated-at type="datetime">2009-04-30T05:02:21+01:00</tweetbacks-updated-at>
  <unpublished-at type="datetime" nil="true"></unpublished-at>
  <updated-at type="datetime">2009-10-13T09:42:29+01:00</updated-at>
  <views-count type="integer">1044</views-count>
</blog-post>
