How can I carry out an automatic search of all pages/posts on my site for any content embedded using oEmbed (preferably Facebook/Instagram content)?
Could somebody please help me understand how to debug this and what to do?
I have a site with tons of posts hundreds/thousands of which have YouTube videos embedded. Most use the default youtube_url format and the actual embed code is stored in the oEmbed postmeta fields.
I have an AJAX request that returns a post. The
post_content has links to Twitter, YouTube, TED and other platforms that are registered as oEmbed providers in a default, vanilla WordPress install. By now, the WordPress oEmbed handler does not register them and displays plain links and nothing else.
I use a lot of embedded videos (via
oembed) on my blog, and that can slow down page loads.
I have a custom meta box set up that allows users to paste the Youtube URL of a video so that it can be embedded into a post/page.