In this article I have described you how to embedded YouTube Video in your web application. YouTube provided line of code of video, just copy and paste in your application. Steps are given below
Step 1: Search or play video in YouTube which you want to embedded in your application.
Step 2: Click on Share tag as given below image.
Step 3: Now click on Embed tag then copy the HTML code which showing in third option.
Step 4: Now go to your web application and simply paste HTML code for example as below line of code.
<iframe width="560" height="315" src="http://www.youtube.com/embed/dl-Njj_4Img" frameborder="0" allowfullscreen></iframe>
Note: You can manage iframe width and height by given iframe properties.
Leave Comment