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

HTML

hugh lancaster
hugh lancaster
3,078 Points

What part of these series shows how to code video? I have a video ( bbp.mp4) clip that I would like to link to.

Trying to link to a page and have that page play a video (bbp.mp4). Not having any luck getting it to play with internet explorer. I can get it to play with chrome. I verified the mimes on the server and they are there.

3 Answers

Hey.

I've just had a quick search and it could be due to needing a meta tag in your code. What version of IE are you using?

Try the following and see if it works...the meta tag goes in your head;

<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

<video width="500" height="400" preload controls>
<source src="bbp.mp4" type="video/mp4" />
Your browser does not support the video tag
</video>

=)

hugh lancaster
hugh lancaster
3,078 Points

Damon, That did it. Thanks a bunch!... Now, how do I force the video to start automatically?