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 trialGraham Davidson
Courses Plus Student 14,966 PointsCannot get my video background playing
Hi there I am having difficulty getting a video background to play in a couple of browsers Firefox - and Chrome (not sure what version of Chrome) http://www.awprecision.co.uk/index-video-2.php This is the page in question I have converted the video and you can see my code here
<video autoplay="autoplay" loop="loop" autobuffer="autobuffer" muted="muted" width="640" height="360">
<source src="video/final-2.mp4" type="video/mp4" />
<source src="video/final-2.webm" type="video/webm" />
<source src="video/final-2.ogv" type="video/ogg" />
</video>
does anyone have any thoughts on this please.
G
2 Answers
James Barnett
39,199 PointsTry re-encoding your video. I swapped out the URLs in your markup and it worked fine in Firefox.
Graham Davidson
Courses Plus Student 14,966 PointsGrrr still not playing on PC