when I create or edit a post content with wpuf in the created post oembed from wordpress only display the url and don't display the generated embed. BUT if the same post is edited in wp-admin oembed work.
Thank Mahi, I found the error. The problem is when I save the post with wpuf it change all newline with <br /> and put entire content in one line. In this way the regex from autoembed to math url don't work, it's this:
Tareq, the same problem with editor and admin role.
First I thought the same, the unfiltered_html permission, but this is need only for “discover” oembed but if the embed is in the know list it's not need this permission. If I use de [embed][/embed] code it works. The problem I think is how tinymce conver newlines to br's using it in wpuf and in this manner the preg_replace_callback don't match the urls.
Viewing 5 posts - 1 through 5 (of 5 total)
The topic ‘Auto Embed don't work in content post’ is closed to new replies.