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

problem on embedding mp4 video in webpage

i have a video of mp4 format and i just use <video>.......</video> to make it work, but it seems that no matter i change the codec , it seems not working, what is the problem , thank you.

2 Answers

I;m having the same issue my code is

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>My Page</title> </head> <body> <object width="560" height="315"><param name="movie" value="//www.youtube.com/v/fPDYj3IMkRI?version=3&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/fPDYj3IMkRI?version=3&amp;hl=en_US" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object> </body> </html>

Can you please insert your code into the post so we can see the problem? Thanks.