To embed a video on a website, find the video on sites like YouTube or Vimeo that provide an embed code, copy the embed code, paste it into the HTML of your webpage, and publish the page to display the embedded video. WordPress users can also embed videos directly into posts and pages.