Why won't my video play? - html

.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>

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.

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?

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