Home › Forums › General Issues › oEmbed for WYSIWYG › Reply To: oEmbed for WYSIWYG
Hi @formgiver
I’ve done some debugging and found that WP is preventing the embed preview.
There is some code within the WP preview function that prevents the embed form being loaded / returned (during ajax call) if the post being edited does not exist.
The post will never exist because you are editing a term, not a post.
This security measure is stopping the preview from working, however, the embed should still work when outputting the value on the template. Can you test this?
I’ve added this to my to-do and may be able to trick WP into thinking it is editing a post instead of a term!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.