Toggle navigation
☰
HTML
CSS
Scripting
Database
<!DOCTYPE html> <html> <head> <title>YouTube Embed Example</title> </head> <body> <h2>Embedded YouTube Video</h2> <iframe width="560" height="315" src="https://www.youtube.com/embed/RIg9AUPvtUo?si=-TxhVWYZRg5NgMP1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> <p>The code above creates a video player on your page that plays the video directly from YouTube's servers.</p> </body> </html>