I'm trying to output the contents of a custom field in plain text, the custom field contains a standard youtube embed code, which is shown at the top of the post without problem, but I also want to add the embed code being used in plain text (so others can copy/paste it).
To output the playable video I'm using:
<?php echo get_post_meta($post->ID, "video", true); ?>
I've tinkered for a few hours now and can't get the embed code to be shown in plain text (in a small iframe).
Anyone point me in the right direction please?