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

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>

Related

embedded youtube video is not getting unmute while autoplaying the video

I have this iframe tag
<iframe src="https://www.youtube.com/embed/uNRGWVJ10gQ?rel=0&autoplay=1" width="560" height="315" frameborder="0" allow='autoplay' allowfullscreen></iframe>
I want to auto play the video with sound on. But i am not able to do that. The video is auto playing but in mute.
Is there any solution to do that?
Try removing amp; from the iframe source like this:-
<iframe src="https://www.youtube.com/embed/uNRGWVJ10gQ?rel=0&autoplay=1" width="560" height="315" frameborder="0" allow='autoplay' allowfullscreen></iframe>
It should be autoplaying the video with audio on.

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>

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

error - html autoplay embedded video not working

I am trying to embed a video and i want it to autoplay when the page loads. I have used the tag and have added &autoplay=1 to the end of my source but it isn't working.
<iframe src="https://player.vimeo.com/video/91310729&autoplay=1" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
I have tried replacing &autoplay=1 with true instead of 1 and numerous other ways, when the page loads it just says Oops the url is incorrect.
Used bellow iframe code. Error in video URL Replace this URL
https://player.vimeo.com/video/91310729&autoplay=1
TO
https://player.vimeo.com/video/91310729?autoplay=1
<iframe src="https://player.vimeo.com/video/91310729?autoplay=1" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe
replace this brother
https://player.vimeo.com/video/91310729&autoplay=1
into this
https://player.vimeo.com/video/91310729?autoplay=1