There will eventually be a time when you want to include a Youtube video in one of your posts. While adding Youtube videos into your blog post is quick and easy, the method to do so is not always apparent.
The first step of course is to write your blog post and find a related Youtube video; after both of those steps have been finished you can move on. Make sure to leave open the browser with your Youtube video as we will need information from it.
The next step is to switch from the WordPress “Visual” editor mode to the “HTML” editing mode. This can be done by clicking the “HTML” tab in the top right corner of your post editing window. You will immediately notice any and all images, code and symbols turn into html code. This is because you are now editing the post as if it were a standard text document.
Navigate back to your Youtube video and you will find a series of options in boxes below. The option to include a video elsewhere is called “embed”, and upon choosing this box a drop down menu will appear. In this new menu is a bit of code that can be copied and directly pasted into your WordPress post editing window. If you haven’t already done so, paste this bit of code where you would like the video to appear in your post (make sure the editor is still in “HTML” mode).
After saving of course the video should now be completely visible in your blog post.
Native WordPress Video Import
Sometimes the “embed” method above does not work and videos will not display correctly. In that case there is an alternate method to include Youtube videos and any type of web based video in your WordPress blog posts. In your WordPress admin panel there is an option to upload or insert images, video, audio and media in general. The option to insert a video, if you haven’t already figured it out, is the upload video panel. But before entering in the information for this specific panel you will need the actual web URL or address of the related video.
This can be acquired by selecting the “share” option (in the menu boxes under Youtube videos) and copying the code segment listed inside the information box. After you have copied the URL, simply open the video upload menu and select the “From URL” option in the tabs at the top of the window.
Paste the URL of the related Youtube video in the section marked “Video URL” and enter a description or title for the video in the subsequent box.
If all is well the video should appear in your blog post where you positioned it.
Congratulations, now you know how to implement YouTube videos into your blog posts. Welcome to the times!