+ 2

What if I had give a YouTube video link? I tried doing it in source tag but it doesn't work.

8th Jul 2016, 6:38 AM
Ranjan Rohekar
Ranjan Rohekar - avatar
5 ответов
+ 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>
8th Jul 2016, 9:52 PM
ZinC
ZinC - avatar
+ 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.
17th Jul 2016, 7:02 AM
Chris Johns
Chris Johns - avatar
0
Nobody will know the reason without seeing your code.
8th Jul 2016, 1:44 PM
ZinC
ZinC - avatar
0
you need to embed the code .... you might have tried normal youtube link.. Post your code here for exact answers
8th Jul 2016, 4:54 PM
Saicharan Reddy
Saicharan Reddy - avatar
0
I just gave a normal YouTube link in src attribute
8th Jul 2016, 5:30 PM
Ranjan Rohekar
Ranjan Rohekar - avatar