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
MUZ140906 Munokanei Marange
5,917 PointsHTML VIDEO AND AUDIO
Challenge Task 4 of 5
On the <source> element, add a type attribute with a value that corresponds to the video file. Please help, i am stuck
1 Answer
Vedran Brnjetić
6,004 PointsI haven't done that particular challenge, but a quick look here http://www.w3schools.com/html/html5_video.asp suggests that you need to add type="video/mp4" (or whichever type of video you have there)
like this:
```html
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
</video>
```
possible types are:
File Format Media Type
MP4 video/mp4
WebM video/webm
Ogg video/ogg