• Hi

    I got a wysiwyg-editor custom field (tinymce) called video containing text, links AND youtube url but the automatic oembed doesn’t work.

    Here is my simple, stripped down code (if empty etc is coming)

    $videos= get_post_meta($post->ID, 'videos', true);
    echo apply_filters( 'the_content', $videos);

    html tags are nicely parsed but the oembedding doesn’t work – I just get the youtube link….

    thanks for any help
    werner

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Oembed custom fields’ is closed to new replies.