默认的Apache上是没有3GPP格式支持的,3GP封装的视频文件会直接乱码显示在网页中
在httpd.conf中添加以下内容即可解决问题:
AddType video/3gpp .3gp
AddType text/x-pcs-gcd .gcd
AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/java-archive .jar
AddType text/x-hdml .hdml
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .wmls
AddType image/vnd.wap.wbmp .wbmp
AddType audio/x-midi .mid
AddType audio/vnd.qcelp .qcp
AddType image/png .png
第一行是For 3gpp,其他的,都是手机用的
另外BS一下WindowsMobile手机, 什么都缓存...清空缓存功能都没在左右键提供...发现这个问题,重启机器还是不行,害的我改名才搞定, Opera则是检测到 3gpp格式就直接提示下载
土鳖WindowsMobile自带IE的UA:
Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.12) O2 Xda Atom Life
Opera 9.5b的UA:
Opera/9.51 Beta (Microsoft Windows; PPC; Opera Mobi/2723; U; en)
国产土鳖UCweb由于所有数据都通过他的Squid来访问,UA比较难拿到:
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC)
UCweb也是唯一一个点了mms地址不跳转到播放器的浏览器,不过鉴于UCweb自身也在开发手机播放器,这点可以理解
这里是iana维护的标准的媒体MIME头列表
在httpd.conf中添加以下内容即可解决问题:
AddType video/3gpp .3gp
AddType text/x-pcs-gcd .gcd
AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/java-archive .jar
AddType text/x-hdml .hdml
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .wmls
AddType image/vnd.wap.wbmp .wbmp
AddType audio/x-midi .mid
AddType audio/vnd.qcelp .qcp
AddType image/png .png
第一行是For 3gpp,其他的,都是手机用的
另外BS一下WindowsMobile手机, 什么都缓存...清空缓存功能都没在左右键提供...发现这个问题,重启机器还是不行,害的我改名才搞定, Opera则是检测到 3gpp格式就直接提示下载
土鳖WindowsMobile自带IE的UA:
Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.12) O2 Xda Atom Life
Opera 9.5b的UA:
Opera/9.51 Beta (Microsoft Windows; PPC; Opera Mobi/2723; U; en)
国产土鳖UCweb由于所有数据都通过他的Squid来访问,UA比较难拿到:
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC)
UCweb也是唯一一个点了mms地址不跳转到播放器的浏览器,不过鉴于UCweb自身也在开发手机播放器,这点可以理解
这里是iana维护的标准的媒体MIME头列表


Leave a comment