Nowadays adding a video to a post is something you see a lot. Seeing as adding a video to your server consumes a lot of resources, most people rather adding the actual video to Youtube or Vimeo and embedding it into the post via the Embed option.
How to Embed a Youtube Video on WordPress?
This task actually got really ridiculously easy a while ago. Normally, what you would need to do is go to the Youtube video you want to embed, click the share button, and choose the Embed option. Then you would get an Iframe that you would need to paste in the “text” tab on the WordPress editor. Even though that is super easy, WordPress has simplified the process even more lately. WordPress added a feature called auto-embeds. All you need to do now is to take the URL of the video from Youtube, paste it in the visual editor within your post, wait about 3 seconds and the video will be embedded automatically. I don’t think they can simplify it any more than that now can they?
How to Embed a Vimeo Video on WordPress?
Surprisingly, you can do the same thing on Vimeo and on various other sites.
You can get the entire embed list here.
WordPress auto embed not working?
If for some reason the Auto embed isn’t working, you have 2 options.
- Add the actual embed Iframe code as described above
- Use a shortcode like this: