Displaying cf post formats with oembed
Currently using CF Post Formats ( http://alexking.org/blog/2011/10/25/wordpress-post-formats-admin-ui ) and using the following code to automatically embed a URL that has been input into the ‘Audio’ or ‘Video’ custom field:
<?php echo wp_oembed_get( get_post_meta($post->ID, '_format_audio_embed', true) ); ?>
However, if oembed does not support the service (Eg. Spotify) and the user inputs the full embed code, it does not echo out anything.
How could I get around this so that if the user inserts code starting with something like:
then it won’t use Oembed and instead it will display normally?