Customizing WordPress oEmbed Content
You can customize WordPress oEmbed content with actions and filters. James DiGioia covers using these hooks to embed a custom post type.
Displaying Errors from the save_post Hook in WordPress
James DiGioia walks through 3 potential methods of solving the problem, as well as how to implement each one, the pros and cons, and which they're best fit.