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 trialRobert Mckay
11,089 PointsI think this video may need to be updated - I was unable to get the first way to work in any browser.
I tried using the following:
Chrome Version 41.0.2272.101 m Firefox version 36.0.1 IE Version 11.0.9600.17690
the code snippet is as follows: <div class="wrapper">
<video src="http://treehouse-code-samples.s3.amazonaws.com/html-video-and-audio/bridge.mp4" type="video/mp4" controls />
</div>
Also for some reason the the page wouldn't load until I renamed the .html file to index.html..
1 Answer
Jorge Felico
15,543 PointsHi Robert, the Video tag should really be used as follows;
<video controls>
<source src="http://treehouse-code-samples.s3.amazonaws.com/html-video-and-audio/bridge.mp4" type="video/mp4">
</video>