How to Add YouTube Videos to Your Website

youtube embed code

This tutorial will show you how to embed YouTube videos directly into your site without a plugin.

There’s a mantra in CMS communities, that goes something along the lines of “There’s a plugin for that.” However, adding many plugins can make it more difficult to manage the site in the long term, as well as cause conflicts at times. One of the most common examples of this is YouTube plugins. While many of them can be very useful, they are sometimes not flexible enough or cause unintended issues.

The solution is simple, but I’ve found that many site admins don’t know about it and instead opt to link to the video, rather embedding it into their website.

EmbedPress - WordPress Embed YouTube Videos If you’re using WordPress, we highly recommend you check out the EmbedPress plugin. You can create advanced, responsive YouTube embeds, using just the URL.

Download EmbedPress

Let’s get started.

Get the Embed Code

media_1398800863140.png

Go to your YouTube video, then below it you’ll see:

  1. Share
  2. Embed
  3. Select your preferred options, then copy the embed code.
  4. Finally, paste the embed code within your webpage’s code edit screen.

That’s all there is to it! You’re done. You can also do the same thing with YouTube playlists.

Author

  • Nick Savov

    Nick is the Director of Support at OSTraining and you can find him in almost every area of the site, from answering support requests and account questions to creating tutorials and software.

    View all posts
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x