+ 5

How follow video from YouTube?

Hello! I can not insert a video from YouTube with a resolution of 640x640 in aboutme.html. Please, help :) https://code.sololearn.com/W0EwnJETPmDR/?ref=app

11th Jun 2018, 2:32 PM
Marina Moiseeva
Marina Moiseeva - avatar
10 Answers
+ 11
YouTube doesn't allow embedding. Hence you need an 'embed' in your URL. The solution you've tried using PHP won't work, atleast in SoloLearn. https://code.sololearn.com/WU0DHtZBaET9/?ref=app
11th Jun 2018, 4:31 PM
Dev
Dev - avatar
+ 6
<video src = "source" width = "???px " height = "???px">Blah</video>
12th Jun 2018, 11:26 AM
DengSXCreates
DengSXCreates - avatar
+ 5
Now i know, thank you
11th Jun 2018, 4:39 PM
Marina Moiseeva
Marina Moiseeva - avatar
+ 3
I tried accessing the URL in a browser and it's returning 404. Are you sure that's a valid link?
11th Jun 2018, 2:53 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
11th Jun 2018, 2:58 PM
Marina Moiseeva
Marina Moiseeva - avatar
+ 3
Hmm. I'll look at it when I get home.
11th Jun 2018, 3:00 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
Has made changes, now does not give out an error, but video all the same is not loaded.
11th Jun 2018, 3:57 PM
Marina Moiseeva
Marina Moiseeva - avatar