Highlighted

You Tube Video wont embed

Enthusiast ,
Apr 13, 2018

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.

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

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.

Views

329

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

You Tube Video wont embed

Enthusiast ,
Apr 13, 2018

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.

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

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.

Views

330

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 13, 2018 0
Adobe Community Professional ,
Apr 13, 2018

Copy link to clipboard

Copied

<object data="http://www.youtube.com/embed/ewKcOd6BLcU" width="560" height="315"></object>


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 13, 2018 1
Enthusiast ,
Apr 14, 2018

Copy link to clipboard

Copied

there is definitely a ">" or "</ ..>" tag broken ... check carefully

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 14, 2018 1
Adobe Community Professional ,
Apr 14, 2018

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>

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 14, 2018 1
Enthusiast ,
Apr 14, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 14, 2018 0
Adobe Community Professional ,
Apr 14, 2018

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.


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 14, 2018 0
Enthusiast ,
Apr 14, 2018

Copy link to clipboard

Copied

Got it Ben finally thanks!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 14, 2018 0