switching an embedded vimeo to an embedded youtube video - html

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>

Related

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>

How to reformat a video so it can be seen in an html webpage using <iframe>?

I am using the tag and some youtube videos show up but the specific video I want isn't in the correct format.
This is the tag with a random video (is working).
<iframe width="420" height="315"
src="https://www.youtube.com/embed/XGSy3_Czz8k">
</iframe>
This is with the video I want (not working).
<iframe width="420" height="315"
src="https://www.youtube.com/watch?v=9fJEFi3ccwI">
</iframe>
Can someone please help me reformat?
I wonder if you simply mean re-format the video URL?
Try as :
<iframe width="420" height="315"
src="https://www.youtube.com/embed/9fJEFi3ccwI">
</iframe>
Let me know if this works how you wanted?

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>

Youtube embed video not showing at all

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