Table of Contents
Do you wish to Embed YouTube Video in WordPress? Videos add vitality to your website and are a terrific way to get people interested in what you have to say. WordPress makes it very easy to embed movies from sites like YouTube, Vimeo, Facebook, Twitter, and many more. Half the struggle is making a YouTube video.
After all that hard work, it’s time to share what you’ve done by putting it on Facebook, in email newsletters, and on your website, of course. In the past, embedding YouTube videos on WordPress required a little of imagination or separate plugins.
But since WordPress 2.9 came out, that has changed. In actuality, you only need the link to YouTube to embed YouTube in WordPress. But you could want to be more creative with your integrations by making galleries, adding your own YouTube profile, or putting together a collection of videos from other providers.
Ways to Embed YouTube Video in WordPress
oEmbed Method
oEmbed is a protocol that lets you embed movies, photos, text, and more simply entering the source URL for the media you want to embed. It’s the easiest way to embed videos in WordPress, and you don’t need to know how to code to accomplish it. Here’s how to do it:
- Go to YouTube.
- Find the video you want to embed.
- Hover your mouse pointer to the URL bar and copy the video’s URL.
- Now, go to your WordPress visual editor.
- Paste the video’s URL and WordPress will automatically embed the video.
Iframe Method
With the second method, you can change how your video looks on your page or post. Follow the steps below to have this done:
- Click the Share button above the subscribe button on a YouTube video.
- Click Embed.
- You will be presented with the iframe code and some options boxes. The first box will let you embed a YouTube video that starts at a specific time. To adjust the time you need to watch the video first and pause at the desired time. You can also include the player controls such as play/pause, volume, and the fast-forward button by checking the other boxes.
- Copy the Iframe code and jump to the WordPress visual editor.
- Change from visual mode into the text mode and paste the embed code.
Embed Videos in Your Sidebar
Follow the steps below to discover how to embed a video in the WordPress sidebar if you’d rather put your videos in the sidebar than in your posts:
- Log in to your WordPress dashboard, go to Appearance -> Customize and click on Widgets.
- You may have multiple sidebar areas where you want to add your videos. Choose the preferred sidebar, and click the Add a Widget button.
- Now, type “video” in the search box.
- Click the Add Video button, and choose Insert from URL.
- Then, copy and paste the video URL from YouTube into the box.
- After the video preview appears, hit the Add to Widget button to confirm.
- You may enter the video title in the video widget on your left side.
- Lastly, click the Save & Publish button to go live.