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 trialMethee Saengow
5,474 Pointsautoplay does not work for me, I dont know what happen
autoplay does not work for me, I dont know what happen
1 Answer
Methee Saengow
5,474 PointsHi John Lack-Wilson
So apologise for my late reply
I have added below code as instructed by the teacher
<video src="http://treehouse-code-samples.s3.amazonaws.com/html-video-and-audio/bridge.mp4" type="video/mp4" autoplay />
However, it does not autoplay the video after I open the browser.
Methee S.
John Lack-Wilson
8,181 PointsYour code seems OK.
Which browser are you using? Autoplay isn't supported by all browsers. Support is listed below:
- Chrome (v4.0 and above)
- I.E (v9.0 and above)
- Firefox (v3.5 and above)
- Safari (v4.0 and above)
- Opera (v10.5 and above)
John Lack-Wilson
8,181 PointsJohn Lack-Wilson
8,181 PointsHi Matthew, could you be more specific as to what is not autoplaying for you?