Skip directly to content

YouTube CFC Temp File Fix

on Tue, 08/23/2011 - 19:01

As detailed in my last post, we've been using YouTube CFC to communicate metadata changes between our admin and YouTube.  This morning, I discovered that the stock code was creating temp XML files to send to YouTube, then deleting them right away.  (Clearly, I hadn't looked at the underlying code very hard before now.)  

This caused a problem for us because of the way our FTP mirroring works between our development and production servers.  Essentially, the FTP software was getting confused by all the little vanishing XML files, so it was locking up and refusing to transfer any files at all.

Update to jQuery/CSS Expandable Content

on Fri, 08/19/2011 - 20:23

I updated the expandable div code today to accomodate divs that are shorter (and thus don't need to be expanded).  It's a simple change:

YouTube Video Workflow Using the API

on Fri, 08/19/2011 - 16:31

This week has been completely consumed with getting video from the Iowa State Fair processed and up on our website.  On an average week, we process 2 or 3 videos.  This week, it's been 12-15 videos a day. We normally host our online video on an external CDN, serving it up on our site via a custom implementation of JW Player.  For Fair, we publish the videos to YouTube, to maximize the exposure they can get that way (we also process the stills and upload them to Flickr with links back to the video).  Unfortunately, publishing videos to YouTube adds a couple of steps to our process, which is

jQuery/CSS Expandable Content

on Fri, 08/12/2011 - 17:45

For a mockup I worked on this week, the client requested a list of 10 essential resources to be included at the top of the content sidebar.  Unfortunately, displaying all 10 tended to push down the other sidebar content so far that they fell far below the fold.  I came up with this quick jQuery/CSS solution to make elegant expandable content divs.

Here's what it looks like:

When you click the 'See More...' link, the div expands to reveal all the content.

Here's the jQuery:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="

jQuery Suckerfish Menu Replacement

on Wed, 08/10/2011 - 19:36

Back in the day, Suckerfish was the go-to CSS solution for drop-down navigation menus.  I'm thrilled that nowadays, we can accomplish basically the same thing with a dash of jQuery and far less code.  I recently whipped up one for a mockup.  Here's the HTML/Javascript I used:

Pages