If you’ve ever displayed a YouTube video, Instagram post or Facebook update on your WordPress site, chances are that the content was displayed with the oEmbed format. Using oEmbeds with WordPress is easy. Simply paste the URL to the content you want to embed in the content of your post or page, and the oEmbed implementation in WordPress will handle the rest. For instance, adding the following YouTube URL in your content:

https://www.youtube.com/watch?v=XOY3ZUO6P0k

Will give you the following:

If you’re using the visual editor, the URL will be transformed into the embedded YouTube video while you’re editing. If not, it will be displayed as such when you view the post or page. You can find a full list of supported oEmbed providers in WordPress here.

    Leave a Comment

    We use cookies to provide an awesome experience on our website. By continuing to use this site, you agree to our tasty cookies.
    🍪 Accept Cookies
    Privacy Policy