How to embed a video in your web page

If you have a web site already up and running and you manage that site yourself, you can embed videos from YouTube or other web video source by attaining the embed code from the video provider.

Each provider has its own method of providing the embed code (It usually is available from the share icon) to place video in websites you’ll have to check with your provider as to how this is done as we cannot cover the multiple types in the scope of this document.

YouTube Help:

This is what the embed code looks like.

<iframe width=”560″ height=”315″ src=”” frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>

Once you’ve used in bed codes enough you’ll get to know what each section of The Code above means and what it refers to when playing in the video player on your screen.

Here’s the above code embedded into this page properly:

So you’ve got the embed code so open up your page management system in the case of us we use WordPress, list your pages once you find the page that you want to edit click edit.

Then just simply put the cursor in or make a space in the text or whatever whether it’s images or text doesn’t matter. Make a blank space and paste the embed code into that space.

Now that’s one thing I must warn you! If you just doing it with the WordPress editor you’ve got to use text mode. If you’re using a toolbar plugin like WP-Edit where it has a media icon on on the toolbar you can click on that then go to the embed tab and just drop the code in and it doesn’t matter whether your main editor is in visual or text mode it just drop it in where you put it. That’s the easiest way to insert the embed code into WordPress pages.

Once this is done you can save the page publish/update in WordPress and hey presto your video from YouTube or other service provider will be there and you can play it in your website so customers don’t think that they’re going away to another site it just stays on your page and plays your YouTube video in your page. It’s a great idea keeping your site visitors on your site.

If you want to know more about embedding or sharing videos, call us!