Embedding youtube videos


How to embed YouTube videos in a web page?

Step 1: Play any YouTube video or video playlist
Step 2: Click on the share button available below the video or video playlist, once you clicked share button, you can observe Share, Embed and Email tabs will get show.
Step 3: Click on Embed tab.
Step 4: Copy the link and paste it in html document.

Interview Questions: