<?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/</link>
	<description>Thoughts on web development and technologies by Peter Gasston</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:50:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jamie</title>
		<link>http://www.broken-links.com/2009/10/06/building-html5-video-controls-with-javascript/#comment-54808</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Sun, 22 Jan 2012 11:39:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=582#comment-54808</guid>
		<description>I&#039;m curious if you have to have any specific AddTypes to the htaccess file? I&#039;m using the same video types on my project and I cant get the video to play in my Android 2.0 browser. When I go to to the demo however linked on this page it plays fine.

I have added ogv, webm and mv4 to my htaccess and when I try to play my videos on my server it says cannot play.</description>
		<content:encoded><![CDATA[<p>I’m curious if you have to have any specific AddTypes to the htaccess file? I’m using the same video types on my project and I cant get the video to play in my Android 2.0 browser. When I go to to the demo however linked on this page it plays fine.</p>
<p>I have added ogv, webm and mv4 to my htaccess and when I try to play my videos on my server it says cannot play.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shahid karim</title>
		<link>http://www.broken-links.com/2009/10/06/building-html5-video-controls-with-javascript/#comment-50340</link>
		<dc:creator>shahid karim</dc:creator>
		<pubDate>Thu, 24 Nov 2011 13:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=582#comment-50340</guid>
		<description>Brilliant job Peter!!!</description>
		<content:encoded><![CDATA[<p>Brilliant job Peter!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 12 Brilliant HTML5 Video Players &#171; The Creative Project</title>
		<link>http://www.broken-links.com/2009/10/06/building-html5-video-controls-with-javascript/#comment-41037</link>
		<dc:creator>12 Brilliant HTML5 Video Players &#171; The Creative Project</dc:creator>
		<pubDate>Tue, 28 Dec 2010 05:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=582#comment-41037</guid>
		<description>[...] year Peter Gasston wrote a post (Building HTML5 video controls with JavaScript) introducing the HTML5 Media Elements API and demonstrating a simple set of controls for playing [...]</description>
		<content:encoded><![CDATA[<p>[…] year Peter Gasston wrote a post (Building HTML5 video controls with JavaScript) introducing the HTML5 Media Elements API and demonstrating a simple set of controls for playing […]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Romero</title>
		<link>http://www.broken-links.com/2009/10/06/building-html5-video-controls-with-javascript/#comment-40832</link>
		<dc:creator>Adrian Romero</dc:creator>
		<pubDate>Fri, 17 Dec 2010 06:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=582#comment-40832</guid>
		<description>Very thanks .. I like make my own apps =)</description>
		<content:encoded><![CDATA[<p>Very thanks .. I like make my own apps =)</p>
]]></content:encoded>
	</item>
	<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>

