YouTube Videos: Playing a YouTube Video in HTML
Playing a YouTube Video in HTML
- Upload the video to YouTube.
- Take a note of the video id.
- Define an <iframe> element in your web page.
- Let the src attribute point to the video URL.
- Use the width and height attributes to specify the dimension of the player.
- Add any other parameters to the URL (see below).
Related concepts
→
Playing a YouTube Video in HTML
→