In a content marketing, videos have become a significant type of media use for increasing brand loyalty and users engagement. Good content usually consists of text, images, and videos. Do you want to embed the YouTube or any videos that hosted on other websites? WordPress has a built-in functionality which can help you do just that in less than a minute.
How to Embed a YouTube and other videos in WordPress Posts or Pages
WordPress is using an oEmbed protocol which sends a communication request from your blog to a destination website to ask for an HTML embed code in return.
There are two ways that you can embed YouTube videos into any Posts or Page
Method 1 – Copy & Paste the URL into your Post or Page editor
The easiest way to do is copy and paste the YouTube URL right into your editor. The WordPress editor will automatically detect the URL and replace it with HTML embed code from YouTube.
Method 2 – Use embed shortcode
In your editor, you can use the embed shortcode to insert any videos into your Posts and Pages
If you need more configurations such as height and width then just specify it in the shortcode
Can I upload video in WordPress and embed them into Post?
A technical answer is Yes. You can upload video and host it with your WordPress. However, there are couple reasons why you shouldn’t do it.
- It consumes your WordPress storage space.
- Each video view takes away your bandwidth.
- It slows down your website.
- Take longer time to download in some locations.
- Conversions is a must before upload to minimize the file size.
- Video player might not work consistently across browsers or devices.
Majority of video hosting websites such YouTube, Vimeo, and Dailymotion eliminate those problems. That’s why many large-scale websites are not hosting videos on their own website. Which many times results in better user experiences and saving thousands of dollars.
You don’t really need to host everything on your WordPress. Once your videos are ready to roll, upload them to YouTube and embed them in your WordPress. You might want to add a subscribe youtube button in your website to drive web traffic to your channel.