Closed Bug 513669 Opened 15 years ago Closed 15 years ago

HTML5/video tag doesn't support external/subfolder SRC

Categories

(Firefox :: General, defect)

3.5 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: elegos, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; it; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; it; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 Firefox 3.5.2 works perfectly with OGV files contained in the same folder, while it refuses to play files in other folders or sites, a grey background with an X in the center appears, no errors or warnings at all in the error console. -- EXAMPLE OF WORKING TAG -- <video class="v" src="myvideo.ogv" /> -- THESE ARE JUST NON-WORKING EXAMPLES -- <video src="http://www.myexamplesite.com/myvideo.ogv" controls /> <video src="myfolder/sub/myvideo.ogv">Blablabla</video> Reproducible: Always Steps to Reproduce: 1. use the VIDEO tag with as SRC an external video or a video in a subfolder Actual Results: A video player with fixed width and height and grey background with an X in the center appears. Expected Results: The video player included in firefox should load the video and let you play it. Tested in local and on a website on a (local) virtual machine.
Component: General → Video/Audio
Product: Firefox → Core
QA Contact: general → video.audio
Version: unspecified → 1.9.1 Branch
This is an example of a video served off a different domain: http://tinyvid.tv/show/1w6h89i4fdatu The page is at tinyvid.tv, the video src is set to http://media.tinyvid.tv/file/foo.ogg This plays fine. I have other examples that work too. Can you provide a bit more information or a URL to a live example? Are you sure the videos on the other site or in the folder are being served with the correct mime type?
Yes, the example I'm trying with is this one: http://www.whispersofazerothwow.org/downloads/tutorial.macos.hosts.ogv The MIME type is correct, I can download it too. Maybe it's a server restriction? If yes, which tecnology does Firefox use to read the files? Thank you Giacomo
Component: Video/Audio → General
Product: Core → Firefox
Version: 1.9.1 Branch → 3.5 Branch
The video is being served with a mime type of text/plain. It needs to be served with a mime type of video/ogg or application/ogg.
How can I check it (not only via firefo, but also via terminal if you want)? When I attempt to go to that link the download manager says "OGG Video". In case, how can I let the server serve the file as OGG Video?
I checked it using wget: wget -S http://example.com/foo.ogg Look at the Content-Type header. What server are you using?
I'm using a linux hosting with apache as web server. Is there any setting I may ask the provider to enable?
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.