oEmbed in action in WordPress

What can you Embed in a WordPress Post with oEmbed?

| 2 Comments

oEmbed is a way of easily embedding media from other websites without having to do anything particularly complex. All it requires that you do is enter the URL of the page where the media appears on its own line within your post content and it will display the media.

This only works with a whitelisted list of providers, but many major sites for posting media are included as you’ll see below. As a side note, you are free to add other services if you’re up to the challenge, by using the wp_oembed_add_provider function.

The list of providers that WordPress supports is quite extensive and should cover most of your needs. You can embed media from any of the following services:

  • blip.tv
  • DailyMotion
  • Flickr
  • FunnyOrDie
  • Hulu
  • Instagram
  • Qik
  • Photobucket
  • PollDaddy
  • Revision3
  • Scribd
  • Slideshare
  • SoundCloud
  • SmugMug
  • Twitter
  • Viddler
  • Vimeo
  • WordPress.tv
  • YouTube

And all you need to do is paste the URL of the media in question on its own line. So here are some examples of oEmbed. Enjoy!

YouTube

Instagram:

I need to looooooooove!!! <3 Muse

Soundcloud:

SlideShare:

Twitter:

WordPress.tv

FunnyOrDie

Categories: The Basics | Permalink

What next?

Hire me

If you couldn't quite manage this yourself, find it too intimidating, or just don't have the time to do it, you can always hire Dave to do it. Please get in touch so that we can discuss your needs.

Leave a comment

If you have a question, update, or comment about the tutorial, please leave a comment. I try and respond to every comment, though it may take a few days, so please check back soon.

Let a WordPress Expert help you

Do you want to try this, but feel like you need a helping hand, in case something goes wrong? My service, The WP Butler, gives you access to WordPress expertise whenever you need it. Better yet, I'll keep your site backed up, updated and secure, so that you don't have to worry about it. It's all part of the service. Use coupon DIWW and save 15% on all plans.

Visit The WP Butler

Author:

Dave has been tinkering with WordPress for many years, and he now shares his WordPress knowledge here on Do It WIth WordPress to help others realise its impressive power. He can also be hired to help with your WordPress needs. Dave, who is British, is married to his best friend, Marti, with whom he has a beautiful daughter, Ellie. When he's not dabbling with WordPress, he's probably eating Triscuits or hummus, watching an indie film or British TV show, spending time with friends or family, or exploring the world.

2 Comments

  1. I didn’t know you could add instagram, that’s good to know, I use instagram quite a bit so adding images to my articles will be very useful, I do add video and twitter to my articles with embed, thanks for the heads up on the other options.

  2. This is one of my favorite features of WordPress! On this same thought I ripped this functionality from WordPress recently and created a PHP Class to be used outside of WP:
    http://www.warpconduit.net/2013/04/13/automatically-embedding-video-using-only-the-url-with-the-help-of-oembed/

Leave a Reply