Solved

HTML 5 Video Nightmare

Posted on 2013-01-28
12
178 Views
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 http://aquascapegetyourfeetwet.com/test_video.html

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

Thanks
aquascape-ftp.jpg
0
Comment
Question by:Richard Korts
  • 5
  • 4
  • 3
12 Comments
 
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.
0
 

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.
0
 
LVL 83

Accepted Solution

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

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

<title>Test Video</title>
</head>
<body style="font-family: Arial, Helvetica; font-size: 12pt;">
	<table width="800" cellpadding="4">
		<tr>	
			<td><img src="images/spacer.gif" width="100" height="5">
			<td><img src="images/logo.jpg"></td>
			<td><img src="images/header.jpg"></td>
		</tr>
	</table><br>
<div style="text-align:center"> 
  <br> 
  <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.
  </video><br>
</div> 

</body>
</html>

Open in new window

http://en.wikipedia.org/wiki/HTML5_video
0
 

Author Comment

by:Richard Korts
ID: 38831367
DaveBaldwin,

PROGRESS!!!

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 ".

http://aquascapegetyourfeetwet.com/test_videodb.html

Can we make it work in IE?

Thanks
0
 
LVL 7

Expert Comment

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

Author Comment

by:Richard Korts
ID: 38832284
To Element1910

IE 9
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 83

Expert Comment

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

Author Comment

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

rkorts
0
 
LVL 7

Expert Comment

by:Element1910
ID: 38833484
[Removed]
0
 

Author Closing Comment

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

Points awarded for effort.
0
 
LVL 7

Expert Comment

by:Element1910
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

0
 
LVL 83

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now