Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Objects Embedded Elements

Jeremy Miranda
Jeremy Miranda
2,949 Points

A little error

Hi, just a heads up.When you copy the old embed code the http: is'nt on the code after value and embed src. Although it shows it on the video, this caused me some time and frustration to figure out why my code wasnt working...

3 Answers

Isaac Asante
Isaac Asante
4,752 Points

Are you referring to YouTube embed codes? Otherwise, just copy whatever they provide. It'll work.

Karthik Venkataraman
Karthik Venkataraman
2,463 Points

Yes, good point. In the embed tutorial, one needs to add <code>http://</code> to the embed code produced by YouTube. This applies both to the new and the old formats.

Isaac Asante
Isaac Asante
4,752 Points

Jeremy, you're good I guess?