HTML iframe

I’m trying to add a YouTube video to a html file using iframe as I’ve seen on w3school but I get a error, could I get some help. Thanks in advance. https://code.sololearn.com/WV1OhQvZvO9f/?ref=app

4th Nov 2019, 6:03 PM
farhan bhatti
farhan bhatti - avatar
3 Answers
+ 5
Check this code. Here you can get how to use iframe for YouTube videos https://code.sololearn.com/W9RWIE99Z1O4/?ref=app
4th Nov 2019, 7:11 PM
A͢J - avatar
+ 2
farhan bhatti For the embed link, you have to use desktop view of YouTube in a browser to get the embed link.
5th Nov 2019, 6:56 AM
Gordon - avatar
+ 1
A J thanks for your help, think i need to embed the video correctly so it can display on the page
4th Nov 2019, 7:51 PM
farhan bhatti
farhan bhatti - avatar