Embedly

Takes a content URL (eg a YouTube video) and returns JSON/XML info on how to embed it