troubleshooting Question

video html5

Avatar of designaire
designaireFlag for United States of America asked on
MultiMedia Applications
11 Comments1 Solution472 ViewsLast Modified:
I have a few video files and I'm trying to play them using html  5 but they aren't working. Is there any thing that is wrong with this code. Could it be the video files? They run fine on the hard drive but not through the browser.

http://www.designaire.com/pr1/videotest.html
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>

<body>
<video width="720" height="406" controls>
  <source src="BarberShop.webm" type='video/webm; codecs="vp8, vorbis"' />
  <source src="BarberShop.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
  <source src="BarberShop.ogg" type='video/ogg; codecs="theora, vorbis"' />
  Video tag not supported. Download the video <a href="movie.webm">here</a>.
</video>


</body>
</html>


I've also tried this...
http://www.designaire.com/pr1/videotest1.html

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>

<body>
<video width="720" height="406" controls>
  <source src="movie.mp4" type="video/mp4" />
  <source src="movie.ogg" type="video/ogg" />
  Video tag not supported. Download the video <a href="movie.webm">here</a>.
</video>


</body>
</html>
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros