Copy link to clipboard
Copied
I copied a you tube video code I want to embed into a simple html page I have but all I get after uploading it via ftp is the code. Stumped thanks.
If the code is correct, then there is a problem with the video. One test is to click the URL part of code, i.e. "https://www.youtube.com/embed/ePbKGoIGAXY". This should show the video albeit on the YouTube site.
Copy link to clipboard
Copied
<object data="http://www.youtube.com/embed/ewKcOd6BLcU" width="560" height="315"></object>
Copy link to clipboard
Copied
there is definitely a ">" or "</ ..>" tag broken ... check carefully
Copy link to clipboard
Copied
If you're using Bootstrap, the responsive video embed codes are shown below.
Embedded 4:3 Responsive Aspect Ratio (YouTube video)
<div class="embed-responsive embed-responsive-4by3">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/ePbKGoIGAXY"></iframe>
</div>
Embedded 16:9 Responsive Aspect Ratio (YouTube video)
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/ePbKGoIGAXY"></iframe>
</div>
Copy link to clipboard
Copied
Ben thanks, I plugged in my numbers to your version with object, but still did not work, just shows code, no video.
<object data="http://www.youtube.com/embed/mywebsite" width="560" height="315"></object>
You Tube gives this
<iframe width="560" height="315" src="https://www.youtube.com/embed/mywebsite" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
(I put in "my website for anonynimity), but get the idea, just get code on page, no video; baffled still.
Copy link to clipboard
Copied
If the code is correct, then there is a problem with the video. One test is to click the URL part of code, i.e. "https://www.youtube.com/embed/ePbKGoIGAXY". This should show the video albeit on the YouTube site.
Copy link to clipboard
Copied
Got it Ben finally thanks!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now