Open Graph Video Share

I figure I would get one last post in before the end of the year.  I’ve been working with Facebook’s Open Graph again trying to share custom videos and just like every other Facebook technology there are a few caveats. The first being if you don’t have an image to go along with your video you won’t see the video player in your news feed.  Second you have to make all of the OG links use https otherwise those users won’t see the player.  Instead they will be taken to the page with all the OG data. Thirdly, you should set a video width and height meta tag that doesn't cause scrollbars.  I've been using the same dimensions as YouTube, 398x224.

jQuery Animation and Overflows

Thought I would share a little tip about animating with jQuery that I wasted a good hour on.  If you're animating the height of an object, jQuery will automatically set the item's overflow property to hidden.  Of course if you have items hanging of the edges like navigation buttons or anything with negative margins this is an undesirable effect.  That is unless you add overflow: visible !important to your stylesheet.  Problem solved, go back to your lives citizens.

Custom Directory Listings with Htaccess

It never ceases to amaze me how incredibly powerful and misunderstood the .htaccess file is to web developers.  Most of us never need to crack open that file, but if we do, a quick Google search will give you all the code you need.