• Resolved 66sprite

    (@66sprite)


    I am having troubles with CFS stripping embedded videos and just leaving me with the URL to the video as text. When I paste the URL into the WYSIWYG field it embeds the video in the edit screen but when I save the edit page and view the page it just shows the URL. If I surround the video in [embed][/embed] then it embeds properly.

    Any ideas on how to get it to embed with just pasting the link into the WYSIWYG field?

    Chris

    https://ww.wp.xz.cn/plugins/custom-field-suite/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matt Gibbs

    (@mgibbs189)

    Have you tried passing your field through WP’s the_content filter?

    <?php echo apply_filters( 'the_content', CFS()->get( 'your_field' ) ); ?>
    
    Thread Starter 66sprite

    (@66sprite)

    it is in a loop, how would I apply that in a loop?

    Thread Starter 66sprite

    (@66sprite)

    I just tried it one that is not in a loop and it still strips the embed and shows just the URL

    Could you please tell me how you solved this issue?
    Passing the field through the_content filter didn’t work for me.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Video Embedding’ is closed to new replies.