To play your video on a web page, do the following:
- Upload the video to YouTube
- Take a note of the video id
- Define an
<iframe>element in your web page - Let the
srcattribute point to the video URL - Use the
widthandheightattributes to specify the dimension of the player - Add any other parameters to the URL (see below)
https://www.youtube.com/watch?v=3lOjNDvVeZA
here "3lOjNDvVeZA" is video id
| Live Demo & Try it yourself! | Read More » » |