How to lodge video on website from youtube

How can I embed video on my website from youtube? It gives error again and again.

Hi @Peter-ops-stack, if you’re programming your website from HTML or React JS, you can:

1. On the video you want to embed, click SHARE

2. Click on Embed

3. Copy and paste the code YouTube gives on to your code