Different Ways to Add YouTube Videos to WordPress Sidebar
December 2nd, 2017 | by Ravi Chahar || 2 Comments |
You may have seen the videos on many websites. You would be happy to know that you can add YouTve videos to WordPress sidebar.
In the past couple of days, 3 people have asked this question. It’s because everyone wants to showcase what they have done so far.
And you know that the visual content always helps. So if you’re looking for something easy, you’re going to learn many ways to add YouTube videos to WordPress sidebar.
For the beginners, the biggest problem is dealing with the codes. And I can understand that it’s hard for the non-techie people.
Using the YouTube Share Option
If you ever looked below any of the YouTube videos, there is a share link. You can share that video any other social media platform.
You would be happy to know that you can use that link to show that video on the sidebar of your website. You just need to copy and paste that link into the widget of WordPress.
Step 1:- Copy the video link.
Step 2:- Log into your WordPress admin area and go to Appearance>>Widgets. Add a text box to the sidebar widget and paste the video link. Save it and you’re done.
Now you can see it on your website. Many people may get confused when they don’t find the sidebar widget. Well, it’s because your WordPress theme doesn’t have the sidebar widget.
Embed the YouTube Video with the iframe
If you want more control over the video. You can embed it using the iframe link. When you click on the share link, you see two options.
One is to copy that link and another one is to show the embed code. Click on that and you see the iframe code. Let me tell you the steps.
Step 1:- Copy this link.
Step 2:- Go to Appearance>>Widgets and add a text box to the sidebar.
Step 3:- There is only one difference, Instead of the visual editor, you have to switch to the “text” editor an then paste the code.
It’s because you’re pasting the HTML code which can’t be run when you use the visual editor. Save it and you’re done. You can also take control of the video controls while generating the code from YouTube.
Use a Plugin to add YouTube Videos to WordPress Sidebar
Many people may still be wondering as if how can they accomplish this if they want to add multiple videos.
Well, you can use any of the above-shown methods. But if you want to add use any plugin then you can. Just install and activate Video Sidebar Widgets.
It works just like any other simple WordPress widget. When you go to Appearance>>Widgets, you can see tits widget where you can add multiple videos.
It may confuse you at first. So it’s always good to use a text widget for each video. It depends on your choice.
Many people consider plugin whereas other know that more plugins can decrease the website speed. So if you can learn a little bit, just use any of the above-mentioned methods.
The choice is yours. But at last, you should know about all the possible ways to add YouTube videos to WordPress sidebar.
You would also be interested to know that you can add video to WordPress posts and pages using the embed code. It gives you more freedom over the width and the video controls.
I hope you can easily add YouTube videos to WordPress sidebar. If you still face any kind of problem, feel free to ask.