Video is one of the best ways to keep visitors on your website. Any with millions of visitors to YouTube daily, there is no surprise that many websites have YouTube videos implemented. Follow the step-by-step guide below to learn how to add a YouTube video to your website.
Step 1 - Visit the Video on YouTube:
First go to the YouTube video you want to add to your site and click the ‘Share’ button.
Step 2 - Obtain the Embed Code:
It is recommended to tweak the Embed Code provided by YouTube just a little bit. After selecting Embed, uncheck the 'Show suggested videos when the video finishes' box. Choose the size for your video (560 x 315 is recommended) copy the text in the text box and switch back to your website editor.
Step 3 - Add the Video to your Site Editor:
Next, open the Content Editor for the section you want to add the video to and click the ‘Source’ button. Locate the section you want to add your video to (if the source code appears confusing, look for familiar language to familiarize yourself with where on the page you are) and paste the html code you just copied from the YouTube video. Once this is done, click the ‘Save changes’ button.
Tip: In HTML a paragraph is identified by a <p> at the beginning and a </p> at the end. It is recommended that you embed YouTube videos in-between paragraphs.
Step 4 - Confirm the video has been added:
After selecting Save Changes, your video should be framed in to your website content area. Once satisfied with the placement of the video, click the ‘Publish button in your floating tool bar to update the live site. If you are unsatisfied with the placement, it may be due to the video being placed in the middle of a paragraph. Cut and past the embed code so that it is between closing and opening paragraphs (</p> and <p>) tags.
Tip: While embedding a YouTube video is quick and easy, it does not provide the stability and appearance of video that is added to Einstein’s Video Website.