Playing a YouTube Video in HTML. To embed the YouTube playlist, you’ll need a playlist URL, which you can easily get from your YouTube channel page. You might be self-hosting the video and presenting it via the HTML5