mp4 is played in webkit browser.
ogv is played in Firefox, but in Opera No.
There is a simple HTML:
When I open a page, I see a video element with a poster, but when I click the play button, nothing happens. I don’t see the loading progress And everything is still as it is.
But Firefox plays very well.
In Opera’s network inspector, I see the HTTP header of the .ogv video file request:
GET /my_video.ogv HTTP/1.1
User-Agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.6.7; U; ru) Presto/2.7 .62 Version/11.01
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, /;q=0.1
The “acceptance” part confuses me. Why does it accept these content types of the video?
Any ideas?
AddType video/ogg .ogv
AddType audio/ogg .oga
Is this video right for you? Do you have a link to the video you want to play?
On my website, I have videos in mp4 and ogv format.
mp4 is played in webkit browser.
ogv is played in Firefox, But it is not needed in Opera.
There is a simple HTML:
When I open a page, I see a video element with a poster, but when I click the play button, nothing happens. I don’t I see the loading progress and everything is still as it is.
But Firefox plays well.
In Opera’s network inspector, I see the HTTP Header requested by the .ogv video file:
GET /my_video.ogv HTTP/1.1
User-Agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.6.7; U; ru ) Presto/2.7.62 Version/11.01
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/ x-xbitmap, /;q=0.1
The “acceptance” part confuses me. Why does it accept these content types for videos?
Any ideas?
For Opera, you actually only need to add these two mime types to Apache or whatever server you will use.
< p>
AddType video/ogg .ogv
AddType audio/ogg .oga
Is this video right for you? Do you have a link to the video you want to play?