Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Cannot 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" />

does anyone have any thoughts on this please.


2 Answers

James Barnett
James Barnett
39,199 Points

Try re-encoding your video. I swapped out the URLs in your markup and it worked fine in Firefox.


Grrr still not playing on PC