HTML 5 Video Nightmare

Posted on 2013-01-28
Last Modified: 2013-01-29
You may have seen my other posts on this.

I am now trying to break it down to the SIMPLEST case. I now cannot get that to work, even though I previously had versions more complex that this working.

Please look at

Then view source. I don't know how to make it ANY simpler.

To prove that the mp4 and ogv files are there, see attached image from godaddy ftp.

Why can't this VERY SIMPLE page work?

I've tried it in IE, FireFox & Chrome. It CAN'T find the video files. It's crazy.

I tried to attach the videos; it won't allow it

Question by:Richard Korts
  • 5
  • 4
  • 3
LVL 83

Expert Comment

by:Dave Baldwin
ID: 38829534
According to LiveHTTP Headers in Firefox, it's not even making a request for the video file.  Try putting the correct height in the video tag.

Author Comment

by:Richard Korts
ID: 38829749
To Dave Baldwin,

I added a height parameter. Same problem.

I will be VERY happy if you can just show me a BASIC setup that will play a video.

It's incredible to me that this is SOOOOOO difficult.
LVL 83

Accepted Solution

Dave Baldwin earned 500 total points
ID: 38830186
Try this.
<!doctype html>

<html lang="en">
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" />

<title>Test Video</title>
<body style="font-family: Arial, Helvetica; font-size: 12pt;">
	<table width="800" cellpadding="4">
			<td><img src="images/spacer.gif" width="100" height="5">
			<td><img src="images/logo.jpg"></td>
			<td><img src="images/header.jpg"></td>
<div style="text-align:center"> 
  <video id="video1" width="800" height="600" controls>
    <source src="video_test.mp4" type='video/mp4; codecs="avc1.4D401E, mp4a.40.2"'">
    <source src="video_test.ogv" type='video/ogg; codecs="theora, vorbis"'>
    Your browser does not support HTML5 video.


Open in new window
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.


Author Comment

by:Richard Korts
ID: 38831367


It works in FireFox & Chrome.

It's the same as before in IE

I had to make a SLIGHT change to the mp4 line; you had an extra ".

Can we make it work in IE?


Expert Comment

ID: 38832142
Quick and silly question, what version of IE are you using to test this on?

Author Comment

by:Richard Korts
ID: 38832284
To Element1910

IE 9
LVL 83

Expert Comment

by:Dave Baldwin
ID: 38832288
No, IE8 just says "Your browser does not support HTML5 video."

Author Comment

by:Richard Korts
ID: 38832323
I'm using IE 9.


Expert Comment

ID: 38833484

Author Closing Comment

by:Richard Korts
ID: 38833517
The problem is NOT solved for IE.

Points awarded for effort.

Expert Comment

ID: 38833525
Try replacing your source for the mp4 with this:
<source src="video_test.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />

Open in new window

LVL 83

Expert Comment

by:Dave Baldwin
ID: 38833607
Go to this page in IE9 and see what it says about Video support.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Increase the size of the modal in Bootstrap 5 42
Applications / Web Apps that enable highlighting text on Web Pages 3 30
Create tabs to show divs 9 35
alert(innerHTML); 8 32
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question