<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brian Chirls &#187; Video</title>
	<atom:link href="http://chirls.com/tag/video/feed/" rel="self" type="application/rss+xml" />
	<link>http://chirls.com</link>
	<description>Code needs love like everything does.</description>
	<lastBuildDate>Tue, 20 Dec 2011 23:46:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>What I&#8217;m Working On: Interactive Video for Citizen Journalism</title>
		<link>http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/</link>
		<comments>http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 20:25:03 +0000</pubDate>
		<dc:creator>chirls</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[18daysinegypt]]></category>
		<category><![CDATA[documentary]]></category>
		<category><![CDATA[egypt]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[journalism]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[openvideo]]></category>
		<category><![CDATA[popcorn.js]]></category>
		<category><![CDATA[whatimworkingon]]></category>

		<guid isPermaLink="false">http://chirls.com/?p=245</guid>
		<description><![CDATA[Last month, I participated in an all-day workshop that Mozilla organized as part of Web Made Movies to introduce filmmakers to the possibilities of interactive video using Popcorn.js. I lobbied to be paired with Yasmine Elayat to create a prototype for her project, 18 Days in Egypt, an interactive documentary covering the recent revolution in [...]]]></description>
			<content:encoded><![CDATA[<p>Last month, I participated in an <a href="http://annasob.wordpress.com/2011/03/28/buttercamp-new-york/">all-day workshop</a> that Mozilla organized as part of <a href="http://webmademovies.org/">Web Made Movies</a> to introduce filmmakers to the possibilities of interactive video using <a href="http://popcornjs.org/">Popcorn.js</a>.  I lobbied to be paired with Yasmine Elayat to create a prototype for her project, <em><a href="http://www.18daysinegypt.com/">18 Days in Egypt</a></em>, an interactive documentary covering the recent revolution in Egypt, using citizen-produced video.  It&#8217;s a credit to Yasmine&#8217;s knowledge of the material and the work of the Popcorn.js team that we were able to build and demo the whole thing in a single day.</p>
<p><a href="http://code.chirls.com/buttercamp/">View the prototype here</a>. It should work in any modern web browser that handles html video (even Internet Explorer 9!).  Below, I&#8217;ll discuss the challenges and solutions we discovered through the process of building a prototype that tells a story as well as it demonstrates the technology.</p>
<p><a href="http://code.chirls.com/buttercamp/"><img src="http://chirls.com/wp-content/uploads/2011/04/18days-screencap.jpg" alt="&quot;18 Days in Egypt&quot; Interactive Video Prototype" title="&quot;18 Days in Egypt&quot; Interactive Video Prototype" width="640" height="360" class="size-full wp-image-250" /></a></p>
<p>The goal of the prototype was to give an overall sense of the subject while giving a viewer the opportunity to &#8220;drill down&#8221; to additional media for more detail.  As powerful as HTML video and Popcorn are, it&#8217;s easy to overwhelm the viewer with too much information.  So we had to choose the content and design the layout and interaction to tell the story while making it beautiful and avoiding distraction.<br />
<span id="more-245"></span></p>
<h3>Content</h3>
<p>Yasmine decided to highlight a conflict at the Qasr al-Nil Bridge, near Tahrir Square in Cairo.  To best tell this particular story, we chose to use types of additional media, each implemented as Popcorn plugin. Relevant additional photos and video would give a deeper emotional and expository experience.  Since most of our audience might not be familiar with the details of the place, we added pop-up facts, which can be expanded by hovering the mouse.  Finally, a simple link appears in the lower left corner crediting the original source of the main video clip.</p>
<p>We considered adding a Google Map, since Popcorn has a plugin that will move the map to specified locations at any point in the video.  But the Tahrir Square protests all took place around too small a space to make a moving map useful, and the source videos didn&#8217;t contain accurate enough location metadata to pinpoint specific enough locations around the square.</p>
<p>For the main video, Yasmine chose three short video clips, around 30 seconds each.  All the clips are from a distance and give a visual overview of the event.  The detail video and photos are all either closer shots or much longer, appropriate to the higher level of engagement the viewer will demonstrate by clicking to activate them.</p>
<h3>Design</h3>
<p>We wanted to focus more on the story than the technology and to preserve the artistic aspects of film, so it was important to make the prototype as artful as possible.  Since neither of us are graphic artists, we decided to keep it as simple as possible.  Yasmine made things easier by choosing beautifully shot video and photos.  I designed the page to so that it&#8217;s entirely filled by video and minimized any extra visual flashes that might clash without the help of an additional designer.  The videos of the event happened to appear a bit muted, which made them look nice when layered.  For a more general and unpredictable set of images, I might consider using CSS opacity to mute certain components when others have focus.</p>
<h3>Interaction</h3>
<p>Finally, getting the interaction right took a bit of experimentation and problem-solving.  There was a lot to explain, so we needed to have multiple pop-up tips.  The best way we could think to organize them was to place them within the video, and to balance the level of interruption, we made them semi-transparent and showed only the title unless the mouse hovers over them.  It would have been nice to have those move around the video frame as their subjects moved, but that&#8217;s quite a lot more work than we had time for in an afternoon.</p>
<p>The additional videos presented a bigger challenge, since they are seven or eight minutes long, while each is applied to a 30-second section of the main video.  My initial thought was to pause the main video while a detail video was playing, but Yasmine thought it would be more cinematic to keep the main video playing in the background.  The first thing we need to do is drop the volume of the main video to 10%, so it&#8217;s still in the background but not distracting.  But what would happen if you&#8217;re playing through a seven-minute detail video and the main video gets to a new section?  Your video would disappear.  So now, when a detail video is playing, and the main video gets close to a new section, it skips back to the point when you activated the detail video and loops until you&#8217;re done.  When you close that video, the main video returns to full volume and continues to play.  Hopefully, the result is a cinematic experience that lets you explore the deeper aspects of the story while maintaining context.</p>
<h3>Nuts and Bolts</h3>
<p>There are a few technical tricks to keep in mind when building an interactive film such as this.  At the time we built it, Popcorn only supported HTML video, using the &lt;video&gt; tag, so even though the source videos came from YouTube, we had to splice and re-encode the video for all the different browsers (<a href="http://en.wikipedia.org/wiki/Webm">webm</a> for Chrome and Firefox and <a href="http://en.wikipedia.org/wiki/H264">H264</a> for IE9 and Safari).  We used <a href="http://www.mirovideoconverter.com/">Miro Converter,</a> which is free and will easily convert into just about any format one needs, though there are other, <a href="http://www.ffmpeg.org/">more complicated</a> free tools out there if you need to fine-tune your encode.  And it&#8217;s worth noting that most web servers require a tweak to a .htaccess file to <a href="http://support.symfonip.com/entries/181412-webm-htaccess-settings-support-for-webm-format">make sure mime types are properly configured</a> to serve up the video files.</p>
<p>Now, Popcorn supports YouTube and Vimeo, but the native HTML video approach allows for tighter feedback and control of the timing.  Splicing multiple YouTube videos in a browser could be tricky and unreliable.</p>
<p>Out of the box, Popcorn makes it easy to display timed content in different formats, with pretty basic Javascript skills.  I was able to use the existing <em>footnote</em> plugin for the source credits, but I had to build custom plugins to get the positioned pop-ups and the detail videos.  With Popcorn, the main video drives the timing of all the other events, so one must be careful when having the events change that main video time.  Otherwise, you can end up with a loop that will make a mess of the whole thing.</p>
<p>Most of the rest of it can be done with Cascading Style Sheets, which handles positioning and visibility, including fades.  Very soon, CSS will handle more advanced animations on all the major browsers.</p>
<h3>Going Forward</h3>
<p>I&#8217;m not sure what Yasmine and Jigar Mehta (her partner on <em>18 Days in Egypt</em>) plan to do with the project, but we talked a bit about generating these interactive videos dynamically.  Fortunately, Popcorn makes it easy to build a scene based on JSON data, which can be generated by a database.  Mozilla is working on a <a href="http://butterapp.org/">tool</a> that should eventually make authoring easier.</p>
<p>But automating the composition process would be a massive challenge, requiring precise and carefully managed metadata, which is as much a social challenge as it is a technical one.  I suspect that a wiki-like community approach would work best.</p>
<p>Either way, this kind of interaction around video is going to take a lot of experimentation to make the technology disappear and reach the full potential of more powerful art and information.<!-- Social Bookmarking Reloaded BEGIN -->
<div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Del.icio.us"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Del.icio.us" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to digg"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to digg" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to reddit"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to reddit" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Technorati"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Technorati" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/&amp;h=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Newsvine"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/newsvine.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Newsvine" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism&amp;description=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Ma.gnolia"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/magnolia.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Ma.gnolia" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Ma.gnolia" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Stumble Upon"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Stumble Upon" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Google Bookmarks"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Google Bookmarks" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism&amp;url=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to SlashDot"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to SlashDot" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/&amp;t=What+I%26%238217%3Bm+Working+On%3A+Interactive+Video+for+Citizen+Journalism" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to FaceBook"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to FaceBook" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Twitter"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Twitter" alt="Add 'What I&#8217;m Working On: Interactive Video for Citizen Journalism' to Twitter" /></a></div>
<p><!-- Social Bookmarking Reloaded END --></p>
]]></content:encoded>
			<wfw:commentRss>http://chirls.com/2011/04/28/what-im-working-on-interactive-video-for-citizen-journalism/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What I’m Working On: Tweet to the middle of a video</title>
		<link>http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/</link>
		<comments>http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 02:32:28 +0000</pubDate>
		<dc:creator>chirls</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[openvideo]]></category>
		<category><![CDATA[pbs]]></category>
		<category><![CDATA[state of the union]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[whatimworkingon]]></category>

		<guid isPermaLink="false">http://chirls.com/?p=213</guid>
		<description><![CDATA[Recently, I&#8217;ve been doing some work with Mozilla around their Web Made Movies project. They&#8217;ve been experimenting with the integration of video and the Web enabled by the multimedia features available in modern browser and building tools like Popcorn.js. As we&#8217;re starting to take some of those projects out of the lab and into the [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been doing some work with Mozilla around their <a href="https://www.drumbeat.org/en-US/projects/webmademovies/">Web Made Movies</a> project.  They&#8217;ve been experimenting with the integration of video and the Web enabled by the multimedia features available in modern browser and building tools like <a href="http://popcornjs.org/">Popcorn.js</a>.  As we&#8217;re starting to take some of those projects out of the lab and into the real world, it&#8217;s been interesting to see how those tools hold up and what features are inspired by these situations.</p>
<p><a href="http://code.chirls.com/sotu-video/"><img src="http://chirls.com/wp-content/uploads/2011/02/tweet-time.jpg" alt="" title="Tweet to time in a video" width="300" height="225" class="alignright size-full wp-image-231" style="float: right"/></a>With just a few hours advance notice, the <a href="http://brettgaylor.tumblr.com/post/3026870192/yes-we-did">Popcornjs crew put together</a> a <a href="http://www.pbs.org/newshour/sotu-video/">video/data mash-up of President Obama&#8217;s State of the Union speech</a> for PBS, in which text analysis is displayed in time with the video.  Among such a long video, with so much data, WMM leader <a href="http://www.etherworks.ca/">Brett Gaylor</a> asked if I could build in a feature making it easy to Twitter a short URL right to a point in the middle of the video.  Sure I could.  Unfortunately, an external service we were using to access the Twitter API broke down, so we couldn&#8217;t get the feature working in time to go live.  I&#8217;ve worked around it, and here it is now.</p>
<p>Watch the video <a href="http://code.chirls.com/sotu-video/">from the beginning</a> or <a href="http://code.chirls.com/sotu-video/#1200">start 20 minutes in</a>.  Try the button just below the video.  Read on to learn how it works.<br />
<span id="more-213"></span></p>
<p>The process is pretty simple.  (I decided to use jQuery, since it was already loaded up for Popcorn.js, but it&#8217;s not necessary.)  The three main steps are:</p>
<ol>
<li>Check the URL for a time code and advance the video to the appropriate starting point.</li>
<li>Update the time code on the button.</li>
<li>Set up a &#8220;click&#8221; handler on the button to generate the link and open a Twitter window.</li>
</ol>
<p>Here is the code to get the video started at the right place:</p>
<pre class="qoate-code">
/* get the &lt;video&gt; element. Don't use jQuery here because it doesn't expose video properties and methods */
var video = document.getElementById('video');

/* advance video and auto-play */
var startVideo = function() {
    if (targetTime &lt; video.duration) {
        video.currentTime = targetTime;
        video.play();
    }
};

/* parse URL hash after # for a number */
var targetTime = window.location.hash.substr(1);
targetTime = parseFloat(targetTime);
if (!isNaN(targetTime) &#038;&#038; targetTime &gt; 0) {
    if (video.readyState &gt;= 3) {
        startVideo();
    } else {
        $('#video').bind('loadedmetadata', startVideo);
    }
}
</pre>
<p>The information we need here is how far into the video we want to stop.  To keep it simple, we&#8217;re just looking for a floating point number to represent seconds.  Since all this processing is happening in the browser and I don&#8217;t have access to the server anyway, we put the number in the &#8220;hash&#8221;, which is the part after the # symbol.</p>
<p>After checking to make sure we have a positive number, we test if the video is loaded, since we don&#8217;t always know the order in which our media and scripts will be loaded.  If the video is already loaded, start up the video right away.  Otherwise, bind our function to the &#8220;<a href="https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox#Media_events">loadedmetadata</a>&#8221; event so the browser will get back to us when it&#8217;s ready to start the video.  By using an event handler, we don&#8217;t have to set a timeout to keep checking every few milliseconds.  (Though I&#8217;ve been told &#8220;loadmetadata&#8221; can be slow to fire, so some people use a timeout, even though it&#8217;s ugly.)  Once the metadata has loaded, we can find out how long the video is to make sure we&#8217;re not fast-forwarding past the end, and then it&#8217;s simple to set the time and start playing.</p>
<p>Next, update the time code on our button.  (It&#8217;s not actually a button, just a div, but it works anyway.)</p>
<pre class="qoate-code">
$('#video').bind('timeupdate', function(event) {
    var time = this.currentTime;
    if (time &lt; 0) {
        time = 0;
    }

    var mins = Math.floor(time/60,10);
    var secs = Math.floor(time - mins*60);
    var hours = Math.floor(mins/60,10);
    secs = (secs &gt; 9 ? secs : '0' + secs);

    if (hours &gt; 0) {
        mins = mins % 60;
        mins = (mins &gt; 9 ? mins : '0' + mins);
        $("#tweet-time").html('Tweet to ' + hours + ':' + mins + ':' + secs);
    } else {
        $("#tweet-time").html('Tweet to ' + mins + ':' + secs);
    }
});
</pre>
<p>This feature is not absolutely necessary to make this work, but it&#8217;s helpful to tell the user exactly how far into the video we&#8217;re linking and indicate that the button action is time-sensitive.  The &#8220;timeupdate&#8221; event fires a few times a second, whether we&#8217;re playing or scrubbing the video, forward or reverse.  Javascript doesn&#8217;t provide an easy way to make a string showing elapsed time from seconds, so we do it ourselves.  jQuery makes it easy to change the text.</p>
<p>One problem with this code is that the button changes width as the time changes.  Ideally, you&#8217;d probably check the duration of the video once at the beginning to determine whether you&#8217;re ever going to need the hours, and pick a fixed-width font.</p>
<p>Finally, set up the &#8220;click&#8221; event to create the link and pass it to Twitter.</p>
<pre class="qoate-code">
var base = window.location.protocol + '//' + window.location.host + window.location.pathname;
$("#tweet-time").click(function() {
    var time = video.currentTime;
    if (time &lt; 0) {
        time = 0;
    }

    var height = screen.height;
    var width = screen.width;

    window.open('http://twitter.com/share?count=none&#038;counturl=' +
        encodeURIComponent(base) + '&#038;text=&#038;url=' + encodeURIComponent(base + '#' + time),
        'tweet-time-sotu', "left=" + Math.round((width/2)-(550/2)) +
        ",top=" + Math.round((height/2)-(450/2)) +
        ",width=550,height=450,personalbar=0,toolbar=0,scrollbars=1,resizable=1");
});
</pre>
<p>The most important point here is creating the URL to pass along to Twitter ("base + '#' + time").  One thing we need to be very careful about is that most Twitter clients parse everything after "#" as a hashtag, separate from the URL.  The solution is to use a <a href="http://en.wikipedia.org/wiki/URL_shortener">URL shortener, which is handy for hiding the "#" symbol as well as saving us characters out of the allowed 140.  Originally, I used the <a href="http://is.gd/apishorteningreference.php">is.gd API</a> for this (we need a different short URL for every timecode someone uses).  This worked well enough, but it required an extra call out to the network, which made things crawl on a slow connection.</p>
<p>Fortunately, Twitter provides a nice, clean <a href="http://dev.twitter.com/pages/tweet_button">sharing tool</a> that will create a short URL for us.  (<a href="http://dev.twitter.com/pages/tweet_button">This page</a> explains how to use it.)  We just have to make sure to wrap our target URL in <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/encodeURIComponent">encodeURIComponent</a> so the "#" gets escaped, otherwise everything after it won't make it to the server.  Normally, I hate using pop-up windows, but Twitter was pulling some kind of referrer-checking shenanigans, giving me a "Forbidden" server error when I tried to load this page inside an &lt;iframe&gt; so I didn't have a choice.</p>
<p>That's everything.  Hopefully, the next time PBS and Mozilla do another one of these, they'll integrate this feature.  Please comment below if you decide to use it or if you want to suggest any improvements.<!-- Social Bookmarking Reloaded BEGIN -->
<div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/&amp;title=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video" title="Add 'What I’m Working On: Tweet to the middle of a video' to Del.icio.us"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to Del.icio.us" alt="Add 'What I’m Working On: Tweet to the middle of a video' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/&amp;title=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video" title="Add 'What I’m Working On: Tweet to the middle of a video' to digg"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to digg" alt="Add 'What I’m Working On: Tweet to the middle of a video' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/&amp;title=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video" title="Add 'What I’m Working On: Tweet to the middle of a video' to reddit"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to reddit" alt="Add 'What I’m Working On: Tweet to the middle of a video' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/" title="Add 'What I’m Working On: Tweet to the middle of a video' to Technorati"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to Technorati" alt="Add 'What I’m Working On: Tweet to the middle of a video' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/&amp;h=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video" title="Add 'What I’m Working On: Tweet to the middle of a video' to Newsvine"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/newsvine.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to Newsvine" alt="Add 'What I’m Working On: Tweet to the middle of a video' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/&amp;title=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video&amp;description=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video" title="Add 'What I’m Working On: Tweet to the middle of a video' to Ma.gnolia"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/magnolia.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to Ma.gnolia" alt="Add 'What I’m Working On: Tweet to the middle of a video' to Ma.gnolia" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/&amp;title=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video" title="Add 'What I’m Working On: Tweet to the middle of a video' to Stumble Upon"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to Stumble Upon" alt="Add 'What I’m Working On: Tweet to the middle of a video' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/&amp;title=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video" title="Add 'What I’m Working On: Tweet to the middle of a video' to Google Bookmarks"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to Google Bookmarks" alt="Add 'What I’m Working On: Tweet to the middle of a video' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video&amp;url=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/" title="Add 'What I’m Working On: Tweet to the middle of a video' to SlashDot"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to SlashDot" alt="Add 'What I’m Working On: Tweet to the middle of a video' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/&amp;t=What+I%E2%80%99m+Working+On%3A+Tweet+to+the+middle+of+a+video" title="Add 'What I’m Working On: Tweet to the middle of a video' to FaceBook"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to FaceBook" alt="Add 'What I’m Working On: Tweet to the middle of a video' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/" title="Add 'What I’m Working On: Tweet to the middle of a video' to Twitter"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'What I’m Working On: Tweet to the middle of a video' to Twitter" alt="Add 'What I’m Working On: Tweet to the middle of a video' to Twitter" /></a></div>
<p><!-- Social Bookmarking Reloaded END --></p>
]]></content:encoded>
			<wfw:commentRss>http://chirls.com/2011/02/08/what-i%e2%80%99m-working-on-tweet-to-the-middle-of-a-video/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)</title>
		<link>http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/</link>
		<comments>http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 19:52:31 +0000</pubDate>
		<dc:creator>chirls</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[okgo]]></category>
		<category><![CDATA[whatimworkingon]]></category>

		<guid isPermaLink="false">http://chirls.com/?p=198</guid>
		<description><![CDATA[Here&#8217;s another demo. This time I&#8217;m showing off HTML5 video with a pair of videos by the band Ok Go. Ok Go made the video for &#8220;White Knuckles&#8221; all in one shot and by all accounts it wasn&#8217;t easy. Thankfully, they also posted an extensive video showing how they did it. The video shows the [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another demo.  This time I&#8217;m showing off <a href="http://www.html5video.org/">HTML5 video</a> with a pair of videos by the band <a href="http://www.okgo.net">Ok Go</a>.</p>
<p>Ok Go made the <a href="http://www.youtube.com/watch?v=nHlJODYBLKs">video for &#8220;White Knuckles&#8221;</a> all in one shot and by all accounts it wasn&#8217;t easy.  Thankfully, they also posted an extensive video showing <a href="http://www.youtube.com/watch?v=CXJflIGDE-o">how they did it</a>.  The video shows the complex choreography from different angles, edited together in time with the final result.  I thought the best way to appreciate the entire process would be to see them <a href="http://code.chirls.com/whiteknuckles/">side by side</a>.</p>
<p><strong><a href="http://code.chirls.com/whiteknuckles/">Try out the real thing</a></strong> or watch the video below.</p>
<p>The new-ish video features of HTML5 allow Javascript code enough control over embedded videos to get two of them playing in sync.  Otherwise, they work just like images, so it&#8217;s easy enough to stretch and move them around.  No plugins (Flash, Silverlight, etc.) are required, and it should work in Firefox, Chrome, Safari(?) and <em>maybe</em> Internet Explorer 9.  But no iPhones, iPads or Androids.  Your mileage may vary, especially on slow connections where the videos don&#8217;t load up quickly.</p>
<p>The approach is not perfect, as seeking around the videos will likely cause synchronization to go off a bit, even on the latest beta versions of both Firefox and Chrome.  I&#8217;ve written some tricky and maybe even ugly code to try to minimize this problem, but it&#8217;s not perfect.  The standard event model for the media controllers doesn&#8217;t offer quite as much control as I&#8217;d like, and the way the browsers load video asynchronously seems to make solving this problem impossible.  If anyone has any thoughts or suggestions, please comment.</p>
<p>  <!-- Begin VideoJS --></p>
<div class="video-js-box">
    <!-- Using the Video for Everybody Embed Code http://camendesign.com/code/video_for_everybody --><br />
    <video class="video-js" width="640" height="360" controls poster="http://code.chirls.com/whiteknuckles/videos/knucklesdemo.jpg"><br />
      <source src="http://code.chirls.com/whiteknuckles/videos/knucklesdemo.mp4" type='video/mp4' /><br />
      <source src="http://code.chirls.com/whiteknuckles/videos/knucklesdemo.ogv" type='video/ogg; codecs="theora, vorbis"' /><br />
      <!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. --><br />
       <object width="480" height="385" class="vjs-flash-fallback" ><param name="movie" value="http://www.youtube.com/v/Ncvq-iEwp50?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Ncvq-iEwp50?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"><!-- Image Fallback. Typically the same as the poster image. --></embed></object><br />
    </video><br />
    <!-- Download links provided for devices that can't play video in the browser. --></p>
<p class="vjs-no-video"><strong>Download Video:</strong><br />
      <a href="http://code.chirls.com/whiteknuckles/videos/knucklesdemo.mp4">MP4</a>,<br />
      <a href="http://code.chirls.com/whiteknuckles/videos/knucklesdemo.ogv">Ogg</a><br />
      <a href="http://www.youtube.com/watch?v=Ncvq-iEwp50">Watch it on YouTube</a><br />
      <!-- Support VideoJS by keeping this link. --><br />
      <a href="http://videojs.com">HTML5 Video Player</a> by VideoJS
    </p>
</p></div>
<p>  <!-- End VideoJS --><!-- Social Bookmarking Reloaded BEGIN -->
<div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Del.icio.us"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Del.icio.us" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to digg"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to digg" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to reddit"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to reddit" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Technorati"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Technorati" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/&amp;h=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Newsvine"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/newsvine.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Newsvine" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29&amp;description=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Ma.gnolia"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/magnolia.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Ma.gnolia" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Ma.gnolia" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Stumble Upon"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Stumble Upon" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Google Bookmarks"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Google Bookmarks" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29&amp;url=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to SlashDot"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to SlashDot" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/&amp;t=What+I%26%238217%3Bm+Working+On%3A+Synchronized+Videos+in+HTML5+%28featuring+Ok+Go%29" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to FaceBook"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to FaceBook" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Twitter"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Twitter" alt="Add 'What I&#8217;m Working On: Synchronized Videos in HTML5 (featuring Ok Go)' to Twitter" /></a></div>
<p><!-- Social Bookmarking Reloaded END --></p>
]]></content:encoded>
			<wfw:commentRss>http://chirls.com/2011/01/13/what-im-working-on-synchronized-videos-in-html5-featuring-ok-go/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://code.chirls.com/whiteknuckles/videos/knucklesdemo.mp4" length="15783806" type="video/mp4" />
<enclosure url="http://code.chirls.com/whiteknuckles/videos/knucklesdemo.ogv" length="35334414" type="video/ogg" />
		</item>
		<item>
		<title>What I&#8217;m Working On: Mapping Demand in 3D</title>
		<link>http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/</link>
		<comments>http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 21:19:59 +0000</pubDate>
		<dc:creator>chirls</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[planet]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[webgl]]></category>
		<category><![CDATA[whatimworkingon]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://chirls.com/?p=194</guid>
		<description><![CDATA[It&#8217;s been nice to see an increased awareness in the media community over the last few years of the opportunities to engage audiences on the Internet. There is a new batch of technologies becoming available that should enhance the kind of experiences, allowing for a level of interactivity and visual expressiveness that could match or [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been nice to see an increased awareness in the media community over the last few years of the opportunities to engage audiences on the Internet.  There is a new batch of technologies becoming available that should enhance the kind of experiences, allowing for a level of interactivity and visual expressiveness that could match or rival the films themselves.  I&#8217;ve been experimenting with some of these, and I wanted to share the results.</p>
<p>Among my favorite of these is the cluster of technologies around HTML5, including CSS3, WebSockets, faster Javascript and especially WebGL.  WebGL is a powerful graphics library (analogous to OpenGL) that will give web developers access to hardware graphics acceleration in the browser, standard and without any plugins.  Here is a demo I put together using WebGL to map audience demand data on the web to a 3D representation of the Earth.</p>
<p><iframe title="YouTube video player" class="youtube-player" type="text/html" width="640" height="390" src="http://www.youtube.com/embed/FMOPi19wHVw" frameborder="0"></iframe></p>
<p>This is just a prototype, and there&#8217;s a lot of room for improvement in performance, aesthetics and interactivity, but I think it shows the potential of what&#8217;s possible.  The graphics are beyond what we&#8217;ve generally seen on the web before, and it&#8217;s combined with the kind of portable data that has been spreading around the web for the last few years.  I&#8217;ll try to clean up the code and get a live demo online soon.</p>
<p>For now, WebGL is only available in Beta versions of <a href="http://www.mozilla.com/firefox/beta/">Firefox</a> and <a href="http://www.google.com/landing/chrome/beta/">Chrome</a> (and maybe Safari?).  They&#8217;re worth downloading early if you&#8217;ve got the guts for the occasional bug, and they&#8217;ll hopefully be released in the next few months.  If you want to take a shot at developing with WebGL yourself, there are great lessons at <a href="http://learningwebgl.com/lessons/">Learning WebGL</a> and at <a href="https://developer.mozilla.org/en/WebGL">Mozilla</a>.</p>
<p>I&#8217;ve got lots more demos coming, and they&#8217;re cooler than this one, so check back for more in the next week or so.  I&#8217;ll be posting them on <a href="http://www.youtube.com/my_playlists?p=E0A7E6123B19ACC9">YouTube</a> and on <a href="http://twitter.com/bchirls">Twitter</a>.<!-- Social Bookmarking Reloaded BEGIN -->
<div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Del.icio.us"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Del.icio.us" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to digg"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to digg" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to reddit"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to reddit" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Technorati"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Technorati" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/&amp;h=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Newsvine"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/newsvine.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Newsvine" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D&amp;description=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Ma.gnolia"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/magnolia.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Ma.gnolia" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Ma.gnolia" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Stumble Upon"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Stumble Upon" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/&amp;title=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Google Bookmarks"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Google Bookmarks" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D&amp;url=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to SlashDot"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to SlashDot" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/&amp;t=What+I%26%238217%3Bm+Working+On%3A+Mapping+Demand+in+3D" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to FaceBook"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to FaceBook" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Twitter"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Twitter" alt="Add 'What I&#8217;m Working On: Mapping Demand in 3D' to Twitter" /></a></div>
<p><!-- Social Bookmarking Reloaded END --></p>
]]></content:encoded>
			<wfw:commentRss>http://chirls.com/2011/01/05/what-im-working-on-mapping-demand-in-3d/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Link to start YouTube videos in the middle</title>
		<link>http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/</link>
		<comments>http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 20:22:13 +0000</pubDate>
		<dc:creator>chirls</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://chirls.com/?p=153</guid>
		<description><![CDATA[Yesterday, a friend lamented that he didn&#8217;t know of a way to send someone a link to a YouTube video so that it would skip to a certain point. He knew some actors who wanted to show off videos they were in without making people wait through the whole beginning. Unfortunately, I couldn&#8217;t find any [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, a friend lamented that he didn&#8217;t know of a way to send someone a link to a YouTube video so that it would skip to a certain point.  He knew some actors who wanted to show off videos they were in without making people wait through the whole beginning.</p>
<p>Unfortunately, I couldn&#8217;t find any way to make this work on a YouTube watch page but YouTube has a pretty good API, both for the <a href="http://code.google.com/apis/youtube/js_api_reference.html">embedded player</a> and for retrieving <a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html">information on videos</a> themselves.  So I was able to <a href="http://chirls.com/v/QXj5pLUSeAw#367">hack together my own watch page</a>.</p>
<p>Here&#8217;s how to use it:</p>
<ol>
<li>Go to <a href="http://chirls.com/v/">http://chirls.com/v/</a></li>
<li>Type or paste the URL of a YouTube video into the form</li>
<li>(Optional) Enter the desired starting time</li>
<li>Click <em>Load</em></li>
<li>Copy the link from your browser&#8217;s URL bar or&#8230;</li>
<li>When the video loads, play or scrub to the exact desired starting time.</li>
<li>Pause the video</li>
<li>Copy the link or embed code from the form at the bottom to get the link to this video at your starting point.</li>
</ol>
<p>The format of the URL is pretty simple, if you want to put it together manually.<br />
<code>http://chirls.com/v/<strong>VIDEO_ID</strong>/<strong>TIME</strong></code></p>
<p>VIDEO_ID is that weird string of characters that comes after the &#8220;=&#8221; in a YouTube watch page link.<br />
TIME is the starting point in seconds. This should not be less than 0 or more than the duration of your video. It must be in whole seconds.</p>
<p>If people find this useful, I&#8217;ll keep updating it with new features and bug fixes. Please leave notes and suggestions in the <a href="http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/#comments">comments section on this post</a>.</p>
<p><strong>Update (March 1, 2009)</strong>: I&#8217;ve changed the URL structure so that the time comes after a slash instead of a &#8220;#&#8221;, because the old format screwed things up when posting to <a href="http://twitter.com">Twitter</a> and a few other small problems.  The old format still works, so existing links should be fine.  If you leave off the time, the page will load with your video starting from the beginning.<!-- Social Bookmarking Reloaded BEGIN -->
<div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/&amp;title=Link+to+start+YouTube+videos+in+the+middle" title="Add 'Link to start YouTube videos in the middle' to Del.icio.us"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Link to start YouTube videos in the middle' to Del.icio.us" alt="Add 'Link to start YouTube videos in the middle' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/&amp;title=Link+to+start+YouTube+videos+in+the+middle" title="Add 'Link to start YouTube videos in the middle' to digg"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Link to start YouTube videos in the middle' to digg" alt="Add 'Link to start YouTube videos in the middle' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/&amp;title=Link+to+start+YouTube+videos+in+the+middle" title="Add 'Link to start YouTube videos in the middle' to reddit"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'Link to start YouTube videos in the middle' to reddit" alt="Add 'Link to start YouTube videos in the middle' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/" title="Add 'Link to start YouTube videos in the middle' to Technorati"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Link to start YouTube videos in the middle' to Technorati" alt="Add 'Link to start YouTube videos in the middle' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/&amp;h=Link+to+start+YouTube+videos+in+the+middle" title="Add 'Link to start YouTube videos in the middle' to Newsvine"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/newsvine.png" title="Add 'Link to start YouTube videos in the middle' to Newsvine" alt="Add 'Link to start YouTube videos in the middle' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/&amp;title=Link+to+start+YouTube+videos+in+the+middle&amp;description=Link+to+start+YouTube+videos+in+the+middle" title="Add 'Link to start YouTube videos in the middle' to Ma.gnolia"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/magnolia.png" title="Add 'Link to start YouTube videos in the middle' to Ma.gnolia" alt="Add 'Link to start YouTube videos in the middle' to Ma.gnolia" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/&amp;title=Link+to+start+YouTube+videos+in+the+middle" title="Add 'Link to start YouTube videos in the middle' to Stumble Upon"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Link to start YouTube videos in the middle' to Stumble Upon" alt="Add 'Link to start YouTube videos in the middle' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/&amp;title=Link+to+start+YouTube+videos+in+the+middle" title="Add 'Link to start YouTube videos in the middle' to Google Bookmarks"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Link to start YouTube videos in the middle' to Google Bookmarks" alt="Add 'Link to start YouTube videos in the middle' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Link+to+start+YouTube+videos+in+the+middle&amp;url=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/" title="Add 'Link to start YouTube videos in the middle' to SlashDot"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'Link to start YouTube videos in the middle' to SlashDot" alt="Add 'Link to start YouTube videos in the middle' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/&amp;t=Link+to+start+YouTube+videos+in+the+middle" title="Add 'Link to start YouTube videos in the middle' to FaceBook"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Link to start YouTube videos in the middle' to FaceBook" alt="Add 'Link to start YouTube videos in the middle' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/" title="Add 'Link to start YouTube videos in the middle' to Twitter"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'Link to start YouTube videos in the middle' to Twitter" alt="Add 'Link to start YouTube videos in the middle' to Twitter" /></a></div>
<p><!-- Social Bookmarking Reloaded END --></p>
]]></content:encoded>
			<wfw:commentRss>http://chirls.com/2009/02/28/link-to-start-youtube-videos-in-the-middle/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Audience Building Tools &#8211; DIY Days</title>
		<link>http://chirls.com/2008/07/26/audience-building-tools-diy-days/</link>
		<comments>http://chirls.com/2008/07/26/audience-building-tools-diy-days/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 22:18:30 +0000</pubDate>
		<dc:creator>chirls</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Life in the Big City]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[audience]]></category>
		<category><![CDATA[distribution]]></category>
		<category><![CDATA[DIY Days]]></category>
		<category><![CDATA[from here to awesome]]></category>
		<category><![CDATA[independent film]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://chirls.com/?p=102</guid>
		<description><![CDATA[DIY Days launched today in Los Angeles, and here is my video presentation that I made remotely, since I was unable to make it to LA this time. The video is also available on YouTube. As promised in the video, here is a list of some of the tools I use and recommend. If you [...]]]></description>
			<content:encoded><![CDATA[<p>DIY Days launched today in Los Angeles, and here is my video presentation that I made remotely, since I was unable to make it to LA this time.</p>
<p><embed src="http://blip.tv/play/gZo2xMUCAA" type="application/x-shockwave-flash" width="640" height="510" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<p>The video is also available on <a href="http://www.youtube.com/watch?v=kQUYDggS28Y">YouTube</a>.</p>
<p>As promised in the video, here is a list of some of the tools I use and recommend.  If you have any to add, post them in a comment.  I&#8217;ll update this post if I find any others that are useful.</p>
<h3>General Information Tools</h3>
<p><strong>WordPress</strong>: This is the blogging software that runs this website, as well as <a href="http://foureyedmonsters.com">foureyedmonsters.com</a>, <a href="http://workbookproject.com/">Workbook Project</a> and tons of others.  It&#8217;s free and open source.  You can have it hosted for free on <a href="http://wordpress.com/">wordpress.com</a>, or you can download it and install it on your own web server and customize it further.  In addition to blog posts, you can set up more permanent &#8220;pages&#8221; for information about your film that isn&#8217;t time-based (<a href="http://chirls.com/about/">example</a>).<br />
<a href="http://wordpress.org">Learn more and get WordPress at http://wordpress.org</a></p>
<p><strong>Google Analytics</strong>: Most web hosting services provide basic reporting, but Google Analytics offers a clean, more reliable way to track your web traffic and drill down to find more information. I use this mostly to learn where incoming links are coming from and to see which pages and posts on my sites are getting the most attention.  This is also free.  If you have WordPress, you can use <a href="http://www.semiologic.com/software/marketing/google-analytics/">this plugin</a> to easily get Analytics running on your site.<br />
<a href="http://google.com/analytics">Learn more and sign up for Google Analytics at http://google.com/analytics</a></p>
<h3>Discovery Tools</h3>
<p><strong>Search Engine Optimization</strong>: This is not a specific software tool so much as a tactic for making your website easier to find through search engines.  There are a few <a href="http://wordpress.org/extend/plugins/tags/search-engine-optimization">WordPress plugins</a> out there, but your best bet is to <a href="http://www.google.com/search?q=search+engine+optimization">search</a> around the web for <a href="http://www.jimwestergren.com/seo-for-wordpress-blogs/">articles</a>.  <a href="http://andrewapeterson.wordpress.com">Andrew Peterson</a>, who worked on the Four Eyed Monsters distribution team sometimes <a href="http://andrewapeterson.wordpress.com/category/seo-sem-smo-etc/">blogs about SEO</a>.  Some people try to game the system or cheat to get higher search rankings, but I try to use tactics that will also make a site easier and more informal for humans as well as for Google.<br />
<a href="http://en.wikipedia.org/wiki/Search_engine_optimization">Learn about Search Engine Optimization on Wikipedia</a></p>
<p><strong>Social Networks</strong>: This includes the obvious sites, like Facebook and MySpace, but many other sites have social networking components.  YouTube, Flickr, Twitter or any other site that let&#8217;s you link up to other friends on the same service is a social network.  Most social networks will show your friends what you&#8217;re up to, and they will show <i>their friends</i> in turn that they&#8217;re watching you.</p>
<h3>Spreading and Sharing Tools</h3>
<p><strong>Social Bookmarking</strong>: A variety of tools exist that allow you to bookmark resources on the web and share them publicly.  I use <a href="http://del.icio.us/brianchirls">del.icio.us</a> (a.k.a. Delicious), but there are a ton of others (<a href="http://digg.com/">Digg</a>, <a href="http://www.stumbleupon.com/">StumbleUpon</a>, <a href="http://www.facebook.com">Facebook</a>, etc.), each a bit different in exact purpose and features.  Encourage your audience to share your videos, posts, etc. on these sites.  I use <a href="http://www.valent-blog.eu/social-bookmarking-reloaded/">Social Bookmarking RELOADED</a>, which is a WordPress plugin that automatically adds social bookmarking links to every post on my blog.  Also, check out <a href="http://sharethis.com/">ShareThis</a>, which is what you saw on the <a href="http://ironsky.net">Iron Sky</a> site in the above video.</p>
<h3>Subscription Tools</h3>
<p><strong>RSS and Atom Feeds</strong> are formats of machine-readable XML versions of websites.  They&#8217;re great for reading blogs using news reader software, such as <a href="http://google.com/reader/">Google Reader</a>.  The idea is that posts on blogs you read are pushed to you through the reader software so you don&#8217;t have to remember to go back to the blog website.  They&#8217;re also great for syndicating information between sites.  The differences between RSS and Atom are subtle and technical, so for right now, they&#8217;re almost the same exact thing.<br />
<a href="http://www.google.com/support/feedburner/bin/answer.py?answer=79408">Learn more about feeds</a></p>
<p><strong>Feedburner</strong> is a tool for optimizing RSS and Atom feeds that come out of your blog.  It will also help you track how many people are reading your blog through the feed, and you can easily set up an <a href="http://www.feedburner.com/fb/a/publishers/fbemail">email digest version of your feed</a>.  I use <a href="http://www.feedburner.com/fb/a/help/wordpress_quickstart">this plugin</a> to easily integrate Feedburner into my WordPress blog.<br />
<a href="http://www.feedburner.com">Learn more and sign up at http://www.feedburner.com</a></p>
<p><strong>Twitter</strong> is a service that allows you to very easily post short updates, up to 140 characters from your cell phone, IM (Jabber/GTalk), a website or a variety of software.  People can subscribe to your Twitter feed using RSS/Atom or through Twitter itself via those same platforms (text messages, instant messaging, etc.).  You can also use the same RSS feed to syndicate these updates to your website, Facebook or other services.  This is a great way to keep the updates coming without much time investment.<br />
<a href="http://twitter.com">Learn more and sign up at Twitter.com</a></p>
<h3>Interaction Tools</h3>
<p><strong>Disqus</strong>: WordPress and other blogging software come with built-in comment functions. Encourage your audience to post comments to keep the discussion going.  Disqus is a service that plugs in to your blog and enhances the discussion features.  Use these to keep your fans invested, get feedback on what you&#8217;re posting and see which fans are most involved.<br />
<a href="http://disqus.com/">Learn more and sign up for Disqus</a></p>
<p><strong>cforms</strong>: This should be obvious, but not every film site has this.  I use this WordPress plugin to create a great contact form on my site so people can <a href="http://chirls.com/contact/">email me directly</a> and privately without me having to post my email address online, which invites tons of spam.  It also tracks incoming emails in a database so I can keep an eye on who&#8217;s in touch.<br />
<a href="http://www.deliciousdays.com/cforms-plugin">Get cforms</a></p>
<h3>Examples</h3>
<p>Here are some film and media channel sites that show off some of the tools and strategies I talked about in this video.</p>
<ul>
<li><a href="http://foureyedmonsters.com">Four Eyed Monsters</a></li>
<li><a href="http://www.nerdcorerisingthemovie.com/">Nerdcore Rising</a></li>
<li><a href="http://ironsky.net">Iron Sky</a></li>
<li><a href="http://doctorhorrible.net">Dr. Horrible&#8217;s Sing-Along Blog</a></li>
<li><a href="http://indoctrinate-u.com">Indoctrinate U</a></li>
<li><a href="http://www.wholphindvd.com/">Wholphin DVD</a>
</li>
</ul>
<p>For some tips on what <strong>not</strong> to do with your site, read this article I wrote a few months ago on <a href="/2007/11/09/no-more-flash-movie-websites/">bad Flash movie websites</a>.</p>
<p>Thanks to <a href="http://alexjohnsononline.com/">Alex Johnson</a> for shooting this video.<!-- Social Bookmarking Reloaded BEGIN -->
<div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://chirls.com/2008/07/26/audience-building-tools-diy-days/&amp;title=Audience+Building+Tools+%26%238211%3B+DIY+Days" title="Add 'Audience Building Tools &#8211; DIY Days' to Del.icio.us"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Audience Building Tools &#8211; DIY Days' to Del.icio.us" alt="Add 'Audience Building Tools &#8211; DIY Days' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://chirls.com/2008/07/26/audience-building-tools-diy-days/&amp;title=Audience+Building+Tools+%26%238211%3B+DIY+Days" title="Add 'Audience Building Tools &#8211; DIY Days' to digg"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Audience Building Tools &#8211; DIY Days' to digg" alt="Add 'Audience Building Tools &#8211; DIY Days' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://chirls.com/2008/07/26/audience-building-tools-diy-days/&amp;title=Audience+Building+Tools+%26%238211%3B+DIY+Days" title="Add 'Audience Building Tools &#8211; DIY Days' to reddit"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'Audience Building Tools &#8211; DIY Days' to reddit" alt="Add 'Audience Building Tools &#8211; DIY Days' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://chirls.com/2008/07/26/audience-building-tools-diy-days/" title="Add 'Audience Building Tools &#8211; DIY Days' to Technorati"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Audience Building Tools &#8211; DIY Days' to Technorati" alt="Add 'Audience Building Tools &#8211; DIY Days' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://chirls.com/2008/07/26/audience-building-tools-diy-days/&amp;h=Audience+Building+Tools+%26%238211%3B+DIY+Days" title="Add 'Audience Building Tools &#8211; DIY Days' to Newsvine"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/newsvine.png" title="Add 'Audience Building Tools &#8211; DIY Days' to Newsvine" alt="Add 'Audience Building Tools &#8211; DIY Days' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://chirls.com/2008/07/26/audience-building-tools-diy-days/&amp;title=Audience+Building+Tools+%26%238211%3B+DIY+Days&amp;description=Audience+Building+Tools+%26%238211%3B+DIY+Days" title="Add 'Audience Building Tools &#8211; DIY Days' to Ma.gnolia"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/magnolia.png" title="Add 'Audience Building Tools &#8211; DIY Days' to Ma.gnolia" alt="Add 'Audience Building Tools &#8211; DIY Days' to Ma.gnolia" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://chirls.com/2008/07/26/audience-building-tools-diy-days/&amp;title=Audience+Building+Tools+%26%238211%3B+DIY+Days" title="Add 'Audience Building Tools &#8211; DIY Days' to Stumble Upon"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png" title="Add 'Audience Building Tools &#8211; DIY Days' to Stumble Upon" alt="Add 'Audience Building Tools &#8211; DIY Days' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://chirls.com/2008/07/26/audience-building-tools-diy-days/&amp;title=Audience+Building+Tools+%26%238211%3B+DIY+Days" title="Add 'Audience Building Tools &#8211; DIY Days' to Google Bookmarks"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Audience Building Tools &#8211; DIY Days' to Google Bookmarks" alt="Add 'Audience Building Tools &#8211; DIY Days' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Audience+Building+Tools+%26%238211%3B+DIY+Days&amp;url=http://chirls.com/2008/07/26/audience-building-tools-diy-days/" title="Add 'Audience Building Tools &#8211; DIY Days' to SlashDot"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/slashdot.png" title="Add 'Audience Building Tools &#8211; DIY Days' to SlashDot" alt="Add 'Audience Building Tools &#8211; DIY Days' to SlashDot" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://chirls.com/2008/07/26/audience-building-tools-diy-days/&amp;t=Audience+Building+Tools+%26%238211%3B+DIY+Days" title="Add 'Audience Building Tools &#8211; DIY Days' to FaceBook"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Audience Building Tools &#8211; DIY Days' to FaceBook" alt="Add 'Audience Building Tools &#8211; DIY Days' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://chirls.com/2008/07/26/audience-building-tools-diy-days/" title="Add 'Audience Building Tools &#8211; DIY Days' to Twitter"><img src="http://chirls.com/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'Audience Building Tools &#8211; DIY Days' to Twitter" alt="Add 'Audience Building Tools &#8211; DIY Days' to Twitter" /></a></div>
<p><!-- Social Bookmarking Reloaded END --></p>
]]></content:encoded>
			<wfw:commentRss>http://chirls.com/2008/07/26/audience-building-tools-diy-days/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

