Close Menu
Infoceptor
  • Business
  • Finance
  • Technology
  • Health
  • Life
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot
Flywheel Logo

Flywheel review in 2023

June 8, 2023
Travel restrictions in Canada are different depending on where you're traveling from and to. Here's what you need to know before you go.

Canada: Traveling restrictions and what you need to know before you go

May 19, 2024
If you are planning a trip to Spain, there are some travel restrictions that must be taken into consideration.

Spain: Traveling restrictions and what you need to know before you go

May 19, 2024
Facebook X (Twitter) Instagram
Infoceptor
  • Business
    This guide will show you how to determine the value of your business using different business valuation methods.

    How to value you business – The ultimate guide for 2023

    May 9, 2024
    Have you ever thought of starting your own laundry service? Find out how with this easy guide.

    How to start a laundry service company in 2023

    May 5, 2024
    Learn about the best online payment solutions available to you. Check out what’s available, learn their pros and cons, and choose the one that best fits your needs.

    The 15 best online payment solutions in 2023

    April 27, 2024
    Learn how to create powerful backlinks for your website and increase your site's search engine ranking.

    How to build backlinks to your website

    April 25, 2024
    In this beginner's guide, we will show you the steps involved in creating a mobile app.

    Beginner’s guide on how to develop a mobile app

    April 24, 2024
  • Finance
    Learn how to build wealth and financial security. This article will share steps you can take to build a reliable cash reserve that will grow over time.

    Do you want to build wealth? Here are some ways to grow your money

    May 18, 2024
    Want to know your tax bracket? Check out our article for an overview of the different brackets and what you can expect to pay in 2022.

    Understanding IRS tax brackets – here’s what you’ll pay in 2023

    May 14, 2024
    This article will cover the best electric vehicle battery stocks to buy and invest in.

    The 10 best EV battery stocks to buy in 2023

    May 9, 2024
    The 10 most active penny stocks to watch this year is a list of the most active penny stocks ranked by total volume.

    The 10 most active penny stocks to watch in 2023

    May 8, 2024
    These electric car stocks are making a lot of money and you should consider adding them to your portfolio.

    The best electric car stocks to buy in 2023

    May 8, 2024
  • Technology
    Flywheel Logo

    Flywheel review in 2023

    June 8, 2023
    This article provides a list of the top iPhone models available today. Each model is reviewed based on features, specifications, performance, design and price point.

    Top iPhone models we’ve tested and you should get

    May 17, 2024
    Find out everything you need to know about the Apple Airpods Pro, including their price, features and if they're worth buying.

    Are Apple AirPods Pro a great choice in 2023?

    May 17, 2024
    To help you find the best responsive WordPress themes, we analyzed more than 100 themes and found those that are currently trending.

    The best responsive WordPress themes in 2023

    May 16, 2024
    These sympathy gifts make a great way to show you care while they also help your loved ones get through the tough times.

    The 15 best sympathy gifts that will show you care

    May 15, 2024
  • Health
  • Life
    These sympathy gifts make a great way to show you care while they also help your loved ones get through the tough times.

    The 15 best sympathy gifts that will show you care

    May 15, 2024
    Water bottles are a great way to stay hydrated. This article is dedicated to the most popular water bottles of the year!

    The best water bottles of 2023

    May 10, 2024
    Learn 30 weird and fun facts that will make you question everything.

    30 weird and fun facts that will make you question everything

    May 10, 2024
    Find out which cities in the US are the best for quality of life by checking out this article.

    20 best cities for quality of life in the USA

    May 7, 2024
    There are many ways to print your designs on t-shirts. Check out our list of the best printing services that offer top-notch quality at affordable prices.

    The 10 best T-shirt printing services of 2023

    May 6, 2024
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel
Facebook X (Twitter) Instagram
Trending
  • Flywheel review in 2023
  • Canada: Traveling restrictions and what you need to know before you go
  • Spain: Traveling restrictions and what you need to know before you go
  • Do you want to build wealth? Here are some ways to grow your money
  • Our in-depth review of the Always Pan
  • Top iPhone models we’ve tested and you should get
  • Are Apple AirPods Pro a great choice in 2023?
  • The best shower heads of 2023
Infoceptor
Home»Technology»WordPress»How to embed videos in your WordPress website
WordPress

How to embed videos in your WordPress website

Matthew DrummondBy Matthew DrummondOctober 5, 20235 Mins Read
Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
Share
Facebook Twitter LinkedIn

Videos are a great way to diversify your content, bring life to your website as well as attract and engage new visitors.

Embedding videos to your WordPress website could improve your rankings with Google Search too.

By default, WordPress allows you to embed videos from popular video services such as YouTube, Facebook, Vimeo, Twitter and other platforms very easily.

In this article, we’ll teach you how to embed videos in your WordPress posts, pages, and sidebar widgets easily.

We’ll use YouTube as an example in this guide; however, the steps are similar for other video platforms too.

Embedding videos in posts and pages

oEmbed method

WordPress uses the oEmbed protocol (also known as auto-embed) to automatically parse the embed code you get from popular video hosting services.

This is convenient because it means you don’t need any coding expertise to insert videos in your WordPress posts or pages.

Here are the quick steps:

  1. Visit YouTube and find the video you want to embed
  2. Hover your mouse pointer over the URL bar and copy the video URL
  3. Log in to your WordPress dashboard and create a new page/post or edit the existing one
  4. Paste the URL you copied previously, and WordPress will automatically parse it and embed the video

Here’s how it looks in the WordPress Gutenberg editor:

And this is how it looks on the WordPress Classic editor:

As you can see, as soon as you paste the video URL – WordPress automatically fetches the embed code and displays the video inside your editor.

If you use the Gutenberg editor, WordPress allows you to add a caption, change alignment, resize your video for smaller devices, etc.

Once you preview or publish your post/page, you will see the embedded video published:

It’s really a piece of cake!

Keep in mind that WordPress auto-embeds URLs only for particular video services. For any other video services/website, you need to obtain the full embed code.

Here is a list of websites/services WordPress can automatically embed videos from:

  • Amazon
  • CollegeHumor
  • Dailymotion
  • Flickr
  • Facebook
  • Hulu
  • Instagram
  • Imgur
  • Kickstarter
  • Mixcloud
  • ReverbNation
  • Reddit
  • Slideshare
  • Scribd
  • Screencast
  • SoundCloud
  • Spotify
  • Twitter
  • Tumblr
  • TED
  • Vimeo
  • VideoPress
  • WordPress plugin directory
  • WordPress.tv
  • YouTube

For any other website, copy the HTML code and in Gutenberg editor, search for a Custom HTML block and add it to the page:

Once added, paste the embed code into the box as shown below:

iFrame method

The alternative method allows you to customize how your video will show on your page or a post. Find the video you want to embed on YouTube and click the Share option above the Subscribe button:

Click Embed:

Adjust the options you’d like and copy the HTML code:

In the WordPress visual editor, change from Visual to Text mode and paste the code:

Embedding videos in sidebar widgets

As mentioned, WordPress also allows you to embed videos to the website sidebar widgets in addition to posts and pages.

Gutenberg editor

Head to Appearance > Widgets and add the Video widget to the desired sidebar:

Click the Insert from URL button and paste your video URL inside the box:

You will see the preview and options to change the alignment, resize the video for mobile devices, etc.:

Click the Update button in the top-right corner to save changes.

Here’s how the video looks on our test website:

Classic editor

Head to Appearance > Widgets and add the Text widget to the desired sidebar. Fill in the title and paste the video URL to the content area:

Click Save to save changes.

Here’s how it looks on our website:

That’s it!

Third party plugins

The WordPress auto-embed feature is fantastic, but it comes with limited options. Here are some recommended third-party plugins that allow further customizations.

YouTube embed plugin

YouTube Embed is perfect for people that frequently upload videos to YouTube as it allows you to create playlists, choose how to play them, and use dynamic video resizing features. The plugin also supports turn off the lights feature and streaming videos through Chromecast.

Price: Free

Download

Video embed and thumbnail generator plugin

This free plugin turns your regular website into a video website. It provides a plethora of different video players you can use, automatically generates video thumbnails, and has plenty of settings to customize how your videos display.

Price: Free

Download

Lazy load for videos plugin

Each video embed on your website affects the performance as it loads scripts from external websites. Lazy Load for Videos prevents this by displaying the static image and only loading the embed code once the visitor clicks the play button. In addition to that, it provides tons of customization options for your YouTube and Vimeo video players.

Price: Free

Download

Conclusion

You should avoid uploading videos to your website directly as it can negatively affect your WordPress website performance. Additionally, uploading to YouTube is beneficial as it’s the third most visited website globally, and it can generate tons of visitors and traffic to your content. It’s also a great way to create a natural content loop for your audience between your website and video channels across platforms.

People also viewed:

How to embed Tik TokHow to embed TikTok videos into your WordPress website How to display your Twitter feed on your WordPress website How to view your WordPress website in mobile and tablet mode from your desktop Teach online yoga classes using WordPress Learn about the best WordPress contact form plugins according to Infoceptor.5 best WordPress contact form plugins for your website in 2023
embed iframe videos vimeo WordPress youtube
Share. Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
Previous ArticleHow to use shortcodes in WordPress
Next Article Best plugins to schedule posts in WordPress
Matthew Drummond

Matthew is a Infoceptor Technology writer. Having worked as a systems administrator for over 15 years gives him unique insight into the inner works of technology. Ultimately his passion for writing brought him to share his technical expertise with the world.

Related Stories

How to view your WordPress website in mobile and tablet mode from your desktop

December 9, 2023
How to embed Tik Tok

How to embed TikTok videos into your WordPress website

September 7, 2023

Teach online yoga classes using WordPress

September 7, 2023

How to display your Twitter feed on your WordPress website

September 7, 2023

Comments are closed.

Connect
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • LinkedIn
  • Reddit
  • TikTok
Don't Miss
Flywheel Logo Reviews

Flywheel review in 2023

By Matthew Drummond

Flywheel is a fast-growing web host that offers high-performance WordPress hosting for agencies, designers, and developers.

Travel restrictions in Canada are different depending on where you're traveling from and to. Here's what you need to know before you go.

Canada: Traveling restrictions and what you need to know before you go

May 19, 2024
If you are planning a trip to Spain, there are some travel restrictions that must be taken into consideration.

Spain: Traveling restrictions and what you need to know before you go

May 19, 2024
Learn how to build wealth and financial security. This article will share steps you can take to build a reliable cash reserve that will grow over time.

Do you want to build wealth? Here are some ways to grow your money

May 18, 2024
  • Auto
    • Auto Reviews
    • Electric
    • Insurance
  • Business
    • Company
    • Government
  • Entertainment
    • Movies
    • Music
  • Finance
    • Credit Cards
    • Crypto
    • Market
    • Personal Finance
  • Food
    • Coffee
    • Drinks
    • Holidays
  • Health
  • Beauty
  • Fitness
  • Food
  • Medical
  • Home
  • Backyard
  • Bathroom
  • Bedroom
  • Cleaning
  • Furniture
  • Home Office
  • Kitchen
  • Life
  • Astrology
  • Family
  • Fashion
  • Outdoors
  • Personal
  • Pets
  • Apple
  • Audio
  • Domain Names
  • Gaming
  • Google
  • Power
  • Reviews
  • Samsung
  • Destinations
  • Gear
  • Services
  • Space
  • Tourism
  • Technology
  • Tutorials
  • Web Hosting
  • WiFi
  • WordPress
  • Travel
  • Shopping
  • Sports
  • Work
  • Stocks
  • Television
  • Web Hosting
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn Reddit TikTok
© 2025 Infoceptor

Type above and press Enter to search. Press Esc to cancel.