 <?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: Building HTML5 video controls with JavaScript</title>
	<atom:link href="http://www.broken-links.com/2009/10/06/building-html5-video-controls-with-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.broken-links.com/2009/10/06/building-html5-video-controls-with-javascript/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=building-html5-video-controls-with-javascript</link>
	<description>Thoughts on web development and technologies by Peter Gasston</description>
	<lastBuildDate>Thu, 29 Jul 2010 15:25:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Basic HTML 5 videoplayer with playlist &#171; Poppecast</title>
		<link>http://www.broken-links.com/2009/10/06/building-html5-video-controls-with-javascript/#comment-38260</link>
		<dc:creator>Basic HTML 5 videoplayer with playlist &#171; Poppecast</dc:creator>
		<pubDate>Sun, 20 Jun 2010 08:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=582#comment-38260</guid>
		<description>[...] it might be interesting to me if I get deeper into HTML5 especially by using the &lt;video&gt; tag. I&#8217;ve read it comes to live in combination with [...]</description>
		<content:encoded><![CDATA[<p>[…] it might be interesting to me if I get deeper into HTML5 especially by using the &lt;video&gt; tag. I’ve read it comes to live in combination with […]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.broken-links.com/2009/10/06/building-html5-video-controls-with-javascript/#comment-37511</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 25 Apr 2010 10:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=582#comment-37511</guid>
		<description>Hi James, take a look at my follow-up tutorial, &lt;a href=&quot;/2010/04/14/building-a-better-html5-video-player-with-glow/&quot; rel=&quot;nofollow&quot;&gt;Building A Better HTML5 Video Player With Glow&lt;/a&gt;, for more information about this.

As for your second question, I&#039;m not sure what the question marks mean in your example but if I understood it correctly it looks like you want to use Math.Round():

&lt;code&gt;Math.round((video.duration ? video.currentTime) ? 100)&lt;/code&gt;

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Hi James, take a look at my follow-up tutorial, <a href="/2010/04/14/building-a-better-html5-video-player-with-glow/" rel="nofollow">Building A Better HTML5 Video Player With Glow</a>, for more information about this.</p>
<p>As for your second question, I’m not sure what the question marks mean in your example but if I understood it correctly it looks like you want to use Math.Round():</p>
<p><code>Math.round((video.duration ? video.currentTime) ? 100)</code></p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jamesm</title>
		<link>http://www.broken-links.com/2009/10/06/building-html5-video-controls-with-javascript/#comment-37501</link>
		<dc:creator>jamesm</dc:creator>
		<pubDate>Sun, 25 Apr 2010 02:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=582#comment-37501</guid>
		<description>Hey I have a player in BETA and I still have problems with the seeking, how much has been played (buffer-bar, progress-time)

Thanks.

ps how do i do this?
(video.duration ? video.currentTime) ? 100; /* = &quot;1.0002151&quot;; */</description>
		<content:encoded><![CDATA[<p>Hey I have a player in BETA and I still have problems with the seeking, how much has been played (buffer-bar, progress-time)</p>
<p>Thanks.</p>
<p>ps how do i do this?<br />
(video.duration ? video.currentTime) ? 100; /* = “1.0002151″; */</p>
]]></content:encoded>
	</item>
</channel>
</rss>
