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 trialDávid Molnár
27,081 PointsHTML5 Video element - doesn't work.
Hey everyone! I made a small HTML file as practice in DreamWeaver CC 2015. I added the following code:
<div>
<video controls>
<source src="video/new_video.mp4" type="video/mp4"/>
<source src="video/to_ogg.ogg" type="video/ogg"/>
</video>
</div>
The path should be okay, I can't see any mistake and I tried it only with the video tag too but the result is a black window with a 'disabled' control. What did I do wrong? When I did the same in the workspace it worked :(
1 Answer
Steven Parker
231,248 PointsCheck that you have the video files located in a subfolder named "video" just like the workspace does.