YouTube video | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

YouTube video

Can anyone help me get a YouTube video on my page please check my code and tell me what is wrong. <div class="section"> <h1><span>My Media</span></h1> <iframe height="150" width="300" src="https://m.youtube.com/watch?v=6r82kwe8Qsg" allowfullscreen frameborder="0"></iframe> </div>

9th Nov 2018, 6:15 PM
CrypticBombs
CrypticBombs - avatar
3 Answers
+ 2
Thanks, that makes it easier. the format of the url is wrong. Try <iframe src="https://youtube.com/embed/6r82kwe8Qsg" allowfullscreen frameborder='0'> this works on my device . Take the url from the 'share' video, and put it in this format adding /embed/ hope this works.
10th Nov 2018, 7:25 AM
xpnvdo
xpnvdo - avatar
0
Hey this sounds like a pretty easy fix, have you tried the search bar in the q&a section. Im pretty sure this has been asked before. Either way, you did not include your code in this post.you can add it here by clicking the plus sign,at the bottom next to the send post icon.
9th Nov 2018, 6:58 PM
xpnvdo
xpnvdo - avatar
- 5
your bad go in to a hole
13th Nov 2018, 4:35 PM
Fox Ranger
Fox Ranger - avatar