+ 2
What if I had give a YouTube video link? I tried doing it in source tag but it doesn't work.
5 Answers
+ 1
As Saicharan said, you have to use the 'embed' feature of Youtube. Click the 'Embed' tab located between the "Share' and 'Send e-mail' tabs. Copy the <iframe> code and paste into your document.
Example :
<iframe width="560" height="315" src="https://www.youtube.com/embed/gqOEoUR5RHg" frameborder="0" allowfullscreen></iframe>
+ 1
The reason the YouTube link doesn't work is that it is a link to a webpage with a video embedded, not a link to a video. That is why you click the embed tab to get the link for embedding the video in the webpage that you are designing.
0
Nobody will know the reason without seeing your code.
0
you need to embed the code .... you might have tried normal youtube link.. Post your code here for exact answers
0
I just gave a normal YouTube link in src attribute