DEV Community

alexanderbiscajin
alexanderbiscajin

Posted on

2 2

How to insert a YouTube video on your website?

Video on the web has become one of the most popular ways to share content, tutorials, information, music, entertainment, and much more. Many people prefer to watch videos than read for information or fun.

Surely when you think about the subject, the first thing that comes to mind is YouTube, the most popular video-sharing site on the Internet.

How to Embed YouTube Videos in WordPress?
The process is very simple.

Step 1. Enter the URL of the video on YouTube.
Step 2. Copy the URL (right click> copy or CTRL + C / CMD + C)
Step 3. Go to the entry or page where you want the video to be shown. In the WordPress editor, just right click> Paste.

When you post or preview it ... the video will appear right there! (It's like magic: P)

If you need to modify properties of the video, you can insert the "Embed" code and modify the dimensions and other properties.

Enter the video again and click on the "Share" tab

Once you have copied and modified the necessary, copy the code that appears there

Paste that same code in the post in the HTML (Text) part of the editor so that the video can appear successfully.

As you can see, inserting YouTube videos in WordPress is a very simple and fast process.

Do you have any other questions?

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay