Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

You Tube Video wont embed

Advocate ,
Apr 13, 2018 Apr 13, 2018

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.

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

correct answers 1 Correct answer

Community Expert , Apr 14, 2018 Apr 14, 2018

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.

Translate
Community Expert ,
Apr 13, 2018 Apr 13, 2018

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

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 14, 2018 Apr 14, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 14, 2018 Apr 14, 2018

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— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 14, 2018 Apr 14, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 14, 2018 Apr 14, 2018

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.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 14, 2018 Apr 14, 2018
LATEST

Got it Ben finally thanks!

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