Portál AbcLinuxu, 10. května 2025 13:25
<video width="640" height="360" poster="video/poster.jpg" controls> <source src="video/video_1.mp4" type="video/mp4"></source> </video>
Řešení dotazu:
v poriadku
$ HEAD http://cotus.net/video/big_buck_bunny.mp4 200 OK Cache-Control: max-age=1209600 Connection: close Date: Sat, 14 Dec 2013 13:32:09 GMT Accept-Ranges: bytes ETag: "5416d8-4ed7c1e7af825" Server: nginx Vary: User-Agent Content-Length: 5510872 Content-Type: video/mp4 Expires: Sat, 28 Dec 2013 13:32:09 GMT Last-Modified: Sat, 14 Dec 2013 10:34:09 GMT Client-Date: Sat, 14 Dec 2013 13:32:09 GMT Client-Peer: 10.0.0.1:8118 Client-Response-Num: 1 Proxy-Connection: keep-alive
nefunguje
$ HEAD http://orcafoto.sk/video/big_buck_bunny.mp4 200 OK Cache-Control: max-age=1209600 Connection: close Date: Sat, 14 Dec 2013 13:32:33 GMT Accept-Ranges: bytes ETag: "81d6f80a-5416d8-4ed7bbe38dac0" Content-Length: 5510872 Content-Type: text/plain Expires: Sat, 28 Dec 2013 13:32:33 GMT Last-Modified: Sat, 14 Dec 2013 10:07:15 GMT Client-Date: Sat, 14 Dec 2013 13:32:33 GMT Client-Peer: 10.0.0.1:8118 Client-Response-Num: 1 Proxy-Connection: keep-alive
default_mimetype text/html text/html mbstring.http_output_conv_mimetypes ^(text/|application/xhtml\+xml) ^(text/|application/xhtml\+xml)Ostatne servery na ktorych video sa prehrava v pohode maju ešte:
-apache2handler mod_mime -mime_magic mime_magic.debug Off Off mime_magic.magicfile /etc/conf/magic.mime /etc/conf/magic.mimeMôže to byť tym ten rozdiel?
AddType video/ogg .ogv AddType video/mp4 .mp4 AddType video/webm .webm AddType audio/mpeg .mp3 AddType audio/ogg .ogg AddType audio/mp4 .m4a AddType audio/wav /wavEšte raz dik
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.