Forum Moderators: phranque

Message Too Old, No Replies

Issue serving video files on Apache 2.2.22

         

aeescobar

5:39 pm on Mar 7, 2012 (gmt 0)

10+ Year Member



Video's served from my server can't be viewed in Google Chrome. They can be viewed in Safari, Firefox and IE. In trying to diagnose the problem, I copied a sample video file to another server, which runs Apache 2.0. In this case, the video can be seen fine in Google Chrome. Here are the Headers for each server.

The video can be seen fine in Chrome in this one, even though the Content-Type is incorrect:

curl -I [styleexpo.com...]
HTTP/1.1 200 OK
Date: Wed, 07 Mar 2012 15:50:53 GMT
Server: Apache/2.0.52 (CentOS)
Last-Modified: Wed, 07 Mar 2012 15:49:20 GMT
ETag: "53c61a-d9bd07-4baa91a47e000"
Accept-Ranges: bytes
Content-Length: 14269703
Connection: close
Content-Type: text/plain

The video cannot be seen in Chrome in this one:

curl -I [seanjohn.hcadigital.com...]
HTTP/1.1 200 OK
Date: Wed, 07 Mar 2012 16:01:45 GMT
Server: Apache/2.2.22 (Unix)
Last-Modified: Tue, 06 Mar 2012 11:34:14 GMT
ETag: "4310810-d9bd07-4ba916c217980"
Accept-Ranges: bytes
Content-Length: 14269703
Connection: close
Content-Type: video/webm

Any thoughts as to how I might diagnose this problem?

phranque

12:22 pm on Mar 8, 2012 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld, aeescobar!

Content-Type: text/plain

aeescobar

1:39 pm on Mar 8, 2012 (gmt 0)

10+ Year Member



Thanks for the welcome.

The one with Content-Type: text/plain is the video that I can see. The one with Content-Type: video/webm is the one I can't see. It should be the other way around, but it isn't, hence my problem.