Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

oembed

How to automatically search my entire site for any content embedded using oEmbed?

August 4, 2022 by Magenaut

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)?

Categories Q&A, Wordpress Tags facebook, oembed Leave a comment

How to oEmbed MySite in WordPress

August 4, 2022 by Magenaut

Could somebody please help me understand how to debug this and what to do?

Categories Q&A, Wordpress Tags oembed Leave a comment

oEmbed, thumbnails and wordpress

August 4, 2022August 3, 2022 by Magenaut

WordPress has wp_oembed_get, which I use to get rich media content with embed.ly. I’ve previously used oEmbed api calls such as this. As you can see it provides thumbnail_url, which I like to use instead of embedding the video. How can I do this with wordpress?

Categories Q&A, Wordpress Tags oembed, post-thumbnails Leave a comment

How can I clear oEmbed caches for YouTube on posts as they are loaded

August 4, 2022August 3, 2022 by Magenaut

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.

Categories Q&A, Wordpress Tags cache, content, oembed, youtube Leave a comment

How to use oEmbeds on Post Content during AJAX requests

August 2, 2022August 1, 2022 by Magenaut

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.

Categories Q&A, Wordpress Tags ajax, oembed, posts Leave a comment

How to add new embed handler not supported by oembed

August 2, 2022August 1, 2022 by Magenaut

I am looking to embed videos from websites that do not offer oembed support, but the reference offered on wp codex about wp_embed_register_handler() is just too broad for someone like me.

Categories Q&A, Wordpress Tags embed, oembed, videos Leave a comment

How to Replace YouTube Videos with a “Click to Play” Thumbnail?

August 2, 2022August 1, 2022 by Magenaut

I use a lot of embedded videos (via oembed) on my blog, and that can slow down page loads.

Categories Q&A, Wordpress Tags oembed, thumbnails, youtube Leave a comment

Apply the_content filter to a custom field with multiple values

August 1, 2022July 31, 2022 by Magenaut

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.

Categories Q&A, Wordpress Tags custom-field, filters, oembed Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress