W e b t u t o r i a l s

Directory Structure

DOCTYPE Declaration

Audio and Videos tag

YouTube Videos

Elements Removed

Semantic Elements

HTML5 Basic Structure

HTML5 New Elements

Create Element

Browser Support

HTML5 Form Element

HTML5 Plug-Ins

Embed youtube video

To play your video on a web page, do the following:
1. Create a YouTube channel.
2. Upload your video in youtube channel.
3. While playing the video, right click on video.
4. Select option 'copy video URL'.
5. Paste it, on your HTML file.

YouTube Parameters
autohide
value=0 - The player controls are always visible
Value 1: The player controls hides automatically when the video plays.
Value 2 (default): If the player has 16:9 or 4:3 ratio, same as 1, otherwise same as 0.

autoplay
Value 0 (default): The video will not play automatically when the player loads.
Value 1: The video will play automatically when the player loads.

controls
Value 0: Player controls does not display. The video loads immediately.
Value 1 (default): Player controls display. The video loads immediately.
Value 2: Player controls display, but the video does not load before the user initiates playback.

loop
Value 0 (default): The video will play only once.
Value 1: The video will loop (forever).

playlist
A comma separated list of videos to play (in addition to the original URL).