<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HTML 5 Flash embedding and other validation errors</title>
	<atom:link href="http://www.brucelawson.co.uk/2009/html-5-flash-embedding-and-other-validation-erors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brucelawson.co.uk/2009/html-5-flash-embedding-and-other-validation-erors/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 14:14:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Subhasish ESPPL</title>
		<link>http://www.brucelawson.co.uk/2009/html-5-flash-embedding-and-other-validation-erors/comment-page-1/#comment-867056</link>
		<dc:creator>Subhasish ESPPL</dc:creator>
		<pubDate>Fri, 20 Jan 2012 06:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.brucelawson.co.uk/index.php/?p=1278#comment-867056</guid>
		<description>






This is the perfect HTML5 flash embed code which will work in all browsers including IE but IE8 or higher.
Happy coding..
cheers</description>
		<content:encoded><![CDATA[<p>This is the perfect HTML5 flash embed code which will work in all browsers including IE but IE8 or higher.<br />
Happy coding..<br />
cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CICDC</title>
		<link>http://www.brucelawson.co.uk/2009/html-5-flash-embedding-and-other-validation-erors/comment-page-1/#comment-837376</link>
		<dc:creator>CICDC</dc:creator>
		<pubDate>Fri, 04 Nov 2011 01:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.brucelawson.co.uk/index.php/?p=1278#comment-837376</guid>
		<description>The embed tag doesn&#039;t work in older versions of IE period, and html5 is also not supported by older browsers. Although I agree that we should all be using the latest and greatest, it&#039;s not always the case. For example there are some embedded (not to be confused with our html tag) browsers that are stuck at version x and cannot be updated (lets assume that the flash works of course). 
So to keep code clean and have it degrade nicely, you can display flash in a single object tag no matter what browser you use as follows (Note the type attribute, it&#039;s what makes this not need the embed tag):

&lt;object width=&quot;425&quot; height=&quot;344&quot; type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.youtube.com/v/8-pFwbHMuwA&amp;hl=en&amp;fs=1&quot; id=&quot;youtubevideo&quot; &gt;
&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;
&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot; /&gt;
&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/8-pFwbHMuwA&amp;hl=en&amp;fs=1&quot; /&gt;
&lt;/object&gt;

No more embed tag, only 2 urls (and only since IE doesn&#039;t like having the &quot;movie&quot; param omitted) and xhtml and html5 compliant.
I hope this might be the piece of mind someone&#039;s looking for.</description>
		<content:encoded><![CDATA[<p>The embed tag doesn&#8217;t work in older versions of IE period, and html5 is also not supported by older browsers. Although I agree that we should all be using the latest and greatest, it&#8217;s not always the case. For example there are some embedded (not to be confused with our html tag) browsers that are stuck at version x and cannot be updated (lets assume that the flash works of course).<br />
So to keep code clean and have it degrade nicely, you can display flash in a single object tag no matter what browser you use as follows (Note the type attribute, it&#8217;s what makes this not need the embed tag):</p>
<p>&lt;object width=&#8221;425&#8243; height=&#8221;344&#8243; type=&#8221;application/x-shockwave-flash&#8221; data=&#8221;http://www.youtube.com/v/8-pFwbHMuwA&amp;hl=en&amp;fs=1&#8243; id=&#8221;youtubevideo&#8221; &gt;<br />
&lt;param name=&#8221;allowFullScreen&#8221; value=&#8221;true&#8221; /&gt;<br />
&lt;param name=&#8221;allowscriptaccess&#8221; value=&#8221;always&#8221; /&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;http://www.youtube.com/v/8-pFwbHMuwA&amp;hl=en&amp;fs=1&#8243; /&gt;<br />
&lt;/object&gt;</p>
<p>No more embed tag, only 2 urls (and only since IE doesn&#8217;t like having the &#8220;movie&#8221; param omitted) and xhtml and html5 compliant.<br />
I hope this might be the piece of mind someone&#8217;s looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Quest for an Accessible Flash MP3 Player &#124; Terrill Thompson</title>
		<link>http://www.brucelawson.co.uk/2009/html-5-flash-embedding-and-other-validation-erors/comment-page-1/#comment-786443</link>
		<dc:creator>The Quest for an Accessible Flash MP3 Player &#124; Terrill Thompson</dc:creator>
		<pubDate>Mon, 22 Aug 2011 02:32:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.brucelawson.co.uk/index.php/?p=1278#comment-786443</guid>
		<description>[...] One lingering problem is that the &lt;object&gt; code recommended in the niftyPlayer documentation fails HTML5 validation. HTML5 actually supports both &lt;object&gt; and (for the first time ever in an HTML spec) &lt;embed&gt;. However, the classid and codebase attributes are obsolete, and probably a few other attributes as well. At this phase in my testing I wasn&#8217;t especially inclined to spend much time trying to figure out how to convert old &lt;object&gt; code to valid, functional HTML5, although it looks like Bruce Lawson has gotten a jump start on this in his article HTML 5 Flash embedded and other validation errors. [...]</description>
		<content:encoded><![CDATA[<p>[...] One lingering problem is that the &lt;object&gt; code recommended in the niftyPlayer documentation fails HTML5 validation. HTML5 actually supports both &lt;object&gt; and (for the first time ever in an HTML spec) &lt;embed&gt;. However, the classid and codebase attributes are obsolete, and probably a few other attributes as well. At this phase in my testing I wasn&#8217;t especially inclined to spend much time trying to figure out how to convert old &lt;object&gt; code to valid, functional HTML5, although it looks like Bruce Lawson has gotten a jump start on this in his article HTML 5 Flash embedded and other validation errors. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adding video that validates in W3C &#124; zibin</title>
		<link>http://www.brucelawson.co.uk/2009/html-5-flash-embedding-and-other-validation-erors/comment-page-1/#comment-708465</link>
		<dc:creator>Adding video that validates in W3C &#124; zibin</dc:creator>
		<pubDate>Thu, 25 Nov 2010 15:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.brucelawson.co.uk/index.php/?p=1278#comment-708465</guid>
		<description>[...] might also want to read about Bruce &#8220;Awesome&#8221; Lawson&#8217;s getting video validated in HTML5. Tags: video, W3C  &#8592; 腾讯科技专访 Yay, HTML5 ContentEditable! [...]</description>
		<content:encoded><![CDATA[<p>[...] might also want to read about Bruce &#8220;Awesome&#8221; Lawson&#8217;s getting video validated in HTML5. Tags: video, W3C  &larr; 腾讯科技专访 Yay, HTML5 ContentEditable! [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florent V.</title>
		<link>http://www.brucelawson.co.uk/2009/html-5-flash-embedding-and-other-validation-erors/comment-page-1/#comment-699631</link>
		<dc:creator>Florent V.</dc:creator>
		<pubDate>Mon, 25 Oct 2010 17:25:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.brucelawson.co.uk/index.php/?p=1278#comment-699631</guid>
		<description>Hi Bruce. I was wondering if there was any benefit to using the OBJECT element at all, here. What happens if you only use EMBED? Do browsers understand that allright? Are JAWS and NVDA, using either IE or Firefox, happy?

The advantage of the OBJECT element over EMBED used to be:
- can be used for lots of formats (plugin data, HTML pages, images, multimedia files to be played by the browser);
- allows rich alternative content (much better than the limited alt attribute of IMG and AREA elements);
- valid HTML4/XHTML1.

In HTML5, EMBED validity is not an issue, and versatile nature of OBJECT was shot down by the blessing of IFRAME, and the addition of VIDEO and AUDIO elements. (I’m not lamenting that, mind you. OBJECT was a great idea, but the spec was probably too vague for it to gain traction. The HTML world has moved on and now we have a specific element for each media category, let’s roll with that.) So the only remaining virtue of OBJECT over EMBED is (rich) alternative content. Since we&#039;re using EMBED as the only alternative content anyway, this advantage is lost too. So why use OBJECT at all if, by chance, browser and screen reader support lets us drop it?

Anybody knows what the support for EMBED is these days?</description>
		<content:encoded><![CDATA[<p>Hi Bruce. I was wondering if there was any benefit to using the OBJECT element at all, here. What happens if you only use EMBED? Do browsers understand that allright? Are JAWS and NVDA, using either IE or Firefox, happy?</p>
<p>The advantage of the OBJECT element over EMBED used to be:<br />
- can be used for lots of formats (plugin data, HTML pages, images, multimedia files to be played by the browser);<br />
- allows rich alternative content (much better than the limited alt attribute of IMG and AREA elements);<br />
- valid HTML4/XHTML1.</p>
<p>In HTML5, EMBED validity is not an issue, and versatile nature of OBJECT was shot down by the blessing of IFRAME, and the addition of VIDEO and AUDIO elements. (I’m not lamenting that, mind you. OBJECT was a great idea, but the spec was probably too vague for it to gain traction. The HTML world has moved on and now we have a specific element for each media category, let’s roll with that.) So the only remaining virtue of OBJECT over EMBED is (rich) alternative content. Since we&#8217;re using EMBED as the only alternative content anyway, this advantage is lost too. So why use OBJECT at all if, by chance, browser and screen reader support lets us drop it?</p>
<p>Anybody knows what the support for EMBED is these days?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Irwin</title>
		<link>http://www.brucelawson.co.uk/2009/html-5-flash-embedding-and-other-validation-erors/comment-page-1/#comment-695971</link>
		<dc:creator>Graham Irwin</dc:creator>
		<pubDate>Tue, 12 Oct 2010 14:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.brucelawson.co.uk/index.php/?p=1278#comment-695971</guid>
		<description>Could have something to do with my not including the shim... Der!</description>
		<content:encoded><![CDATA[<p>Could have something to do with my not including the shim&#8230; Der!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

