IFRAME LINK FROM YOUTUBE | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16

IFRAME LINK FROM YOUTUBE

i am recently making a website of TAYLOR SWIFT, in this website when i embeed an iframe from YOUTUBE and when i played that on my website, it is not working. Youtube is not allowing to play that. Screen becomes like a T.V. without any channel and one message appears over it. I didn't remember that message right now What should i do now *_*

24th Apr 2017, 10:59 AM
Suyash Purwar
Suyash Purwar - avatar
11 Answers
+ 5
unorthodox solution: download the video from youtube and host it on your website. If Taylor Swift won't appreciate it, her lawyers certeinly will... Best solution: find an embeddable video from another source.
24th Apr 2017, 7:28 PM
seamiki
seamiki - avatar
+ 13
i know how to made it but it is not allowing to play a vedio of TAYLOR SWIFT when i opened that on webpage
24th Apr 2017, 11:05 AM
Suyash Purwar
Suyash Purwar - avatar
+ 12
seamiki@ your answer is right and best because i am also thinking about this
25th Apr 2017, 1:33 AM
Suyash Purwar
Suyash Purwar - avatar
+ 9
REALLY?! HOW THIS ONE WORK FOR ME!? <iframe src="https://youtube.com/embed/SsZHJLFFklU"></iframe> AH YEAH! IF THAT LINKS WORK! DON'T FORGET TO WATCH AND LISTEN IT TILL END!!!
24th Apr 2017, 11:04 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 7
@Siddharth Saraf He already know bout that.....
24th Apr 2017, 12:41 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 6
HA?!?!?!?!?
24th Apr 2017, 11:06 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 5
Ooohhh I see.... It's come from bad connection....
24th Apr 2017, 11:09 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 5
https://www.w3schools.com/html/html_youtube.asp Refer to this link for your convenience
24th Apr 2017, 12:29 PM
Siddharth Saraf
+ 5
Either country restriction or video owner disabled embedding. I doubt it's because owner deleted video.
24th Apr 2017, 12:44 PM
Boris Sundic
Boris Sundic - avatar
+ 5
@Suyash Purwar pls note the lrgal implications related to the first part ofy answer.Don't assume they don't exist because an empirical rule of programming says: whatever can go wrong WILL go wrong.
25th Apr 2017, 3:24 AM
seamiki
seamiki - avatar
+ 2
You can add YouTube videos to your web site by using either the iframe or object HTML tags. Based on the information from http://www.youtube.com/youtubeonyoursite: Use the youtube site to find the video you want Click the 'Share' button below the video Click the 'Embed' button next to the link they show you Copy the iframe code given and paste it into the html of your web page. Although YouTube gives you html code using the iframe tag, you can also include your video using the object tag, as seen in the example below. Example: A friend's ski video from Japan (or perhaps just use your favourite funny cat video) <html> <body> <iframe src="http://www.youtube.com/embed/W7qWa52k-nE" width="560" height="315" frameborder="0" allowfullscreen></iframe> </body> </html>
2nd May 2017, 3:27 AM
Bharath
Bharath - avatar