Playing a YouTube Video in HTML. You just to do the minor changing with YouTube Video Embed code. But, you will also find YouTube videos on many other websites, using the embed feature. How to Copy the YouTube Video Link . The notable exception is Periscope. To play your video on a web page, do the following: Upload the video to YouTube; Take a note of the video id; Define an