Demo doesn't work when served from local host
Description
Environment
Activity

Cindy Li January 24, 2012 at 6:20 PM
Issue solved by adjusting the Apache configuration. No changes are made into video player scripts.

Cindy Li January 24, 2012 at 6:19 PM
This issue is due to the misconfiguration of Apache web server that results in the wrong MIME types being sent.
Adding the lines below into Apache configuration file (httpd.conf) resolves the problem:
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

Anastasia Cheetham January 23, 2012 at 8:38 PM
I notice that Chrome is also getting a 206 for the video, however Chrome will play the video regardless. FF will not.

Anastasia Cheetham January 23, 2012 at 7:49 PMEdited
Investigating the 206 status code... This is described as:
"The server is delivering only part of the resource due to a range header sent by the client. The range header is used by tools like wget to enable resuming of interrupted downloads, or split a download into multiple simultaneous streams."
I checked the header. The request header does include a range, which is a requirement for the partial response.

Anastasia Cheetham January 23, 2012 at 7:28 PM
I've tested this in a few browsers, with the following results:
FF (latest) on Mac: fails (response code for the video request is "206 Partial Content")
Chrome (latest) on Mac: works
Safari (latest) on mac: works
Opera (latest) on mac: works
Windows in general: My VM can't seem to connect to my localhost, so I can't tell.
Details
Assignee
Cindy LiCindy LiReporter
Michelle D'SouzaMichelle D'SouzaPriority
Major
Details
Details
Assignee

Reporter

It appears that when the demo is loaded from localhost it does not load the videos that are specified with a relative path.