Youtube embed video not showing at all - html

Can someone help me with this code? The YouTube video isn't showing up at all.
<iframe width="420" height="315" src="https://www.youtube.com/embed/XGSy3_Czz8k"> </iframe>

Can you try this:
<iframe src="https://www.youtube.com/embed/XGSy3_Czz8k" width="420" height="315" frameborder="0" allowfullscreen></iframe>

There may be some other issue eg. server policy etc. can you provide any other info

Related

Why doesn't this YouTube video embed properly?

When I try to embed the top video, it gives a Playback error. I feel like if it were expected behavior it would at least give a nice message explaining why . Am I doing something wrong with my code?
Bottom video works, top doesn't.
https://jsfiddle.net/ks1xhbd3/1/
<iframe width="560" height="315" src="https://www.youtube.com/embed/AHOQ5Ge0l5Easd" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/lWz-46NPqdk" frameborder="0" allowfullscreen></iframe>
The video ID is wrong - remove the 'asd' from it, it doesn't belong there and you definitely typed it in accidentally.

the iframe is not working what shall i do

<iframe width="640" height="390" src="//www.youtube.com/watch?v=rf-ZbfUTVO0" ></iframe>
i did like this but is is not working. I tried this many time but still not working.
Well, if you want to embed any youtube video then you can click on the share button of Youtube, there you'll find the embed code just like below. I did this and it's working for me.
<iframe width="560" height="315" src="https://www.youtube.com/embed/rf-ZbfUTVO0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

How to remove youtube recomended videos at the end of my video?

I am trying to embed youtube video (my own) on my blog and I don't want to see recommended videos at the end, unfortunately ?rel=0 or &rel=0 doesn't work.
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/MY_VIDEO_ID?rel=0" allowfullscreen=""> </iframe>
Thanks in advance!
Try this adding end of the embedded link
?rel=0& showinfo=0
Example -
<iframe width="560" height="315" src="https://www.youtube.com/embed/ZJDMWVZta3M?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>

Why won't my video play?

.Why won't my video play? Before, when I was using a tag, the video would show "no video with supported format and MIME type found". When I use the <iframe> tag it shows a blank square.Here is the code...
<iframe width="420" height="315" src="https://youtu.be/0vwNEc-lL2c" controls></iframe>
...and here is what the site shows...
Any help greatly appreciated!
NW
What happens if you add the code provided by youtube itself?
<iframe width="560" height="315" src="https://www.youtube.com/embed/0vwNEc-lL2c" frameborder="0" allowfullscreen></iframe>

switching an embedded vimeo to an embedded youtube video

Hello I currently have an embedded vimeo video the code is below, I need to switch it to a video on youtube could somebody please show me how?
Below is my code.
Thanks in advance
<ul class="bxslider">
<li>
<iframe src="http://player.vimeo.com/video/4415083?api=1;title=0&byline=0&portrait=0&color=d01e2f&autoplay=1" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
</li>
</ul>
It's almost exactly the same. You can find the embed code by right clicking on the video and "Get embed code".
<iframe width="420" height="315" src="//www.youtube.com/embed/0Y860aUcclY" frameborder="0" allowfullscreen></iframe>