Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Objects Embedded Elements

I cannot get movie to appear in browser

I cannot get the movie to appear in my google chrome or safari browser. I am using TextMate 2.0 while following along with your video but I still cannot get the youtube video to appear. Please help

5 Answers

Lindsay Terrell
Lindsay Terrell
9,888 Points

I actually experienced that same thing and, in looking at the code, could not figure out why. I did, however, see the image of the video flicker on the screen briefly before it disappeared.

Yup I saw the same "flicker" on the screen

Lindsay Terrell
Lindsay Terrell
9,888 Points

I decided to move on since I saw the flicker and I regularly embed videos on a website I manage all the time using the same process Nick uses in the video and never have a problem.

Did you follow the Youtube embed instructions?

Here's my code.

      <section>
         <p>Insert text</p>
             <iframe width="853" height="480" src="//www.youtube.com/embed/insert video URL here" frameborder="0" allowfullscreen>
             </iframe>
      </section>

Also, this code...

        <iframe width="853" height="480" src="//www.youtube.com/embed/insert video URL here" frameborder="0" allowfullscreen></iframe>

...is directly from Youtube, with the video URL removed. The paragraph before it has nothing to do with it, by the way.

Hmm I tried your code Swag, but I still cannot seem to get the video to appear. However, using your code a window appeared that stated, "The file or directory could not be found", which is better than when I tried to use the old embed code where nothing appeared on the screen. Still trying to figure it out.