<?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: This Week in HTML 5: Video tag changes</title>
	<atom:link href="http://ajaxian.com/archives/twih-video-tag-changes/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/twih-video-tag-changes</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Spocke</title>
		<link>http://ajaxian.com/archives/twih-video-tag-changes/comment-page-1#comment-269345</link>
		<dc:creator>Spocke</dc:creator>
		<pubDate>Sat, 22 Nov 2008 16:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5153#comment-269345</guid>
		<description>Hmm, codecs and canPlayType gives me flashbacks to the insane mess codecs for Windows Media Player where before I stopped using it and stated using VLC or mplayer. If this mess comes to the web it&#039;s a step backwards. I think why FLV and Flash have become so popular is that it&#039;s just one format, one vendor and no mess it works the same way in all browsers. Also I think it will be hard for companies like Microsoft to adapt Ogg in favor of their own wmv and wma formats.</description>
		<content:encoded><![CDATA[<p>Hmm, codecs and canPlayType gives me flashbacks to the insane mess codecs for Windows Media Player where before I stopped using it and stated using VLC or mplayer. If this mess comes to the web it&#8217;s a step backwards. I think why FLV and Flash have become so popular is that it&#8217;s just one format, one vendor and no mess it works the same way in all browsers. Also I think it will be hard for companies like Microsoft to adapt Ogg in favor of their own wmv and wma formats.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TNO</title>
		<link>http://ajaxian.com/archives/twih-video-tag-changes/comment-page-1#comment-269292</link>
		<dc:creator>TNO</dc:creator>
		<pubDate>Thu, 20 Nov 2008 17:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5153#comment-269292</guid>
		<description>Wont forget...
.
What if IE9 says maybe, FireFox says probably, Safari says probably, opera says maybe and  Chrome says Probably.
.
Now lets say hypothetically with those answers this happens:
IE9 fails
FireFox plays
Safari plays
Opera fails
and Chrome lied about its answer and fails
.
Can you imagine the code you would need to branch for that?</description>
		<content:encoded><![CDATA[<p>Wont forget&#8230;<br />
.<br />
What if IE9 says maybe, FireFox says probably, Safari says probably, opera says maybe and  Chrome says Probably.<br />
.<br />
Now lets say hypothetically with those answers this happens:<br />
IE9 fails<br />
FireFox plays<br />
Safari plays<br />
Opera fails<br />
and Chrome lied about its answer and fails<br />
.<br />
Can you imagine the code you would need to branch for that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tj111</title>
		<link>http://ajaxian.com/archives/twih-video-tag-changes/comment-page-1#comment-269290</link>
		<dc:creator>tj111</dc:creator>
		<pubDate>Thu, 20 Nov 2008 16:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5153#comment-269290</guid>
		<description>&lt;code&gt;
//this
if (video.canPlayType(video.type)) {
    video.play();
} else {
    alert(&quot;too bad&quot;)
}

//versus this
switch(video.canPlayType(video.type)) {
  case &quot;probably&quot;:
        video.play();
        break;

  case &quot;maybe&quot;:
        if (video.play()) break;

  case &quot;no&quot;:
        alert(&quot;too bad&quot;)
        break;
}
&lt;/code&gt;
Can&#039;t wait...

If this is how it get implemented, every library will just provide custom boolean wrapper functions for this, no one want&#039;s to do string detection.</description>
		<content:encoded><![CDATA[<p><code><br />
//this<br />
if (video.canPlayType(video.type)) {<br />
    video.play();<br />
} else {<br />
    alert("too bad")<br />
}</p>
<p>//versus this<br />
switch(video.canPlayType(video.type)) {<br />
  case "probably":<br />
        video.play();<br />
        break;</p>
<p>  case "maybe":<br />
        if (video.play()) break;</p>
<p>  case "no":<br />
        alert("too bad")<br />
        break;<br />
}<br />
</code><br />
Can&#8217;t wait&#8230;</p>
<p>If this is how it get implemented, every library will just provide custom boolean wrapper functions for this, no one want&#8217;s to do string detection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: funtomas</title>
		<link>http://ajaxian.com/archives/twih-video-tag-changes/comment-page-1#comment-269285</link>
		<dc:creator>funtomas</dc:creator>
		<pubDate>Thu, 20 Nov 2008 14:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5153#comment-269285</guid>
		<description>HTML gets fuzzy in the fifth incarnation. The verbose value set spelling out their meaning might be good when read by human but it&#039;s not the case in most cases and this solution will require an obscure evaluation on js programmer side.
Integer values would do that job too.</description>
		<content:encoded><![CDATA[<p>HTML gets fuzzy in the fifth incarnation. The verbose value set spelling out their meaning might be good when read by human but it&#8217;s not the case in most cases and this solution will require an obscure evaluation on js programmer side.<br />
Integer values would do that job too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TNO</title>
		<link>http://ajaxian.com/archives/twih-video-tag-changes/comment-page-1#comment-269282</link>
		<dc:creator>TNO</dc:creator>
		<pubDate>Thu, 20 Nov 2008 13:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5153#comment-269282</guid>
		<description>One thing I never understood is why html designers don&#039;t use True/False.
If an element returns to me maybe or probably I for one will assume that means true and give it a shot anyway and see if it blows up.</description>
		<content:encoded><![CDATA[<p>One thing I never understood is why html designers don&#8217;t use True/False.<br />
If an element returns to me maybe or probably I for one will assume that means true and give it a shot anyway and see if it blows up.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

