firefox怎么就杯具了[解决]
-
- 论坛版主
- 帖子: 21308
- 注册时间: 2007-08-02 20:29
- 系统: 窓辺とうこ
firefox怎么就杯具了[解决]
同一个文件,opera和chome测试正常,firefox怎么就是一个叉
这个例子倒是都好好的
http://www.w3schools.com/html5/tryit.as ... dio_simple
就改了个src内容,firefox就杯具了
-
- 帖子: 18311
- 注册时间: 2008-01-09 22:41
Re: firefox怎么就杯具了
只支持ogg,ogv
-
- 论坛版主
- 帖子: 21308
- 注册时间: 2007-08-02 20:29
- 系统: 窓辺とうこ
Re: firefox怎么就杯具了
delectate 写了:只支持ogg,ogv
就是个ogg文件啊,这三个同时支持的也只有Ogg Vorbis了
-
- 帖子: 18311
- 注册时间: 2008-01-09 22:41
-
- 论坛版主
- 帖子: 21308
- 注册时间: 2007-08-02 20:29
- 系统: 窓辺とうこ
Re: firefox怎么就杯具了
w3schools的例子我用ff测着也正常啊
我就是搞不懂为什么改了下源文件ff就杯具了,而其他两个就正常
我就是搞不懂为什么改了下源文件ff就杯具了,而其他两个就正常
-
- 帖子: 18311
- 注册时间: 2008-01-09 22:41
-
- 论坛版主
- 帖子: 21308
- 注册时间: 2007-08-02 20:29
- 系统: 窓辺とうこ
Re: firefox怎么就杯具了
<!DOCTYPE HTML>
<html>
<body>
<audio src="http://blog.dan-teng.info/sites/default ... 30/鳥の詩.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
</body>
</html>
<html>
<body>
<audio src="http://blog.dan-teng.info/sites/default ... 30/鳥の詩.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
</body>
</html>
-
- 帖子: 18311
- 注册时间: 2008-01-09 22:41
Re: firefox怎么就杯具了
[html4strict]<!DOCTYPE HTML>
<html>
<body>
<audio src="http://blog.dan-teng.info/sites/default ... %A9%A9.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
</body>
</html>[/html4strict]
filename
睡觉去了
<html>
<body>
<audio src="http://blog.dan-teng.info/sites/default ... %A9%A9.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
</body>
</html>[/html4strict]
filename
睡觉去了
-
- 论坛版主
- 帖子: 21308
- 注册时间: 2007-08-02 20:29
- 系统: 窓辺とうこ
Re: firefox怎么就杯具了
delectate 写了:[html4strict]<!DOCTYPE HTML>
<html>
<body>
<audio src="http://blog.dan-teng.info/sites/default ... %A9%A9.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
</body>
</html>[/html4strict]
filename
睡觉去了
不是文件名的问题啊,我一开始是上传到skydriver外链的,文件名就是乱七八糟的英文,后来上传到自己空间,都一样的问题,改成1.ogg 也没用,就算链接含有中文也一样可以解析的啊
-
- 论坛版主
- 帖子: 21308
- 注册时间: 2007-08-02 20:29
- 系统: 窓辺とうこ
Re: firefox怎么就杯具了
看吧,复制你的码还是个叉啊,难道你那可以?又是我人品问题?
- jarryson
- 帖子: 4002
- 注册时间: 2005-08-14 19:53
Re: firefox怎么就杯具了
默认的可以,换成lz提供的就不行了,和lz一样的阿结果,ff3.6.12
我还是最喜欢opera的处理方式,调用系统的gstreamer,这样什么格式都支持。
我还是最喜欢opera的处理方式,调用系统的gstreamer,这样什么格式都支持。
- tenzu
- 论坛版主
- 帖子: 36924
- 注册时间: 2008-11-21 20:26
Re: firefox怎么就杯具了
我这里firefox就像挂了一样,google都打不开,只能先用chromium
不知道是学校的问题还是firefox的问题
不知道是学校的问题还是firefox的问题
-
- 论坛版主
- 帖子: 21308
- 注册时间: 2007-08-02 20:29
- 系统: 窓辺とうこ
Re: firefox怎么就杯具了
我的那个例子,用相对路径的话文件名是什么都可以,用html绝对路径的话文件名全英文的也不行
w3schools.com的那个
<!DOCTYPE HTML>
<html>
<body>
<audio src="http://www.w3schools.com/html5/song.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
</body>
</html>
改成http的绝对路径照样可以 真不知道ff到底怎么实现的
搜了下说绝对路径相对路径都应该可以的啊,文件名也没什么要求,算了,懒得管了
w3schools.com的那个
<!DOCTYPE HTML>
<html>
<body>
<audio src="http://www.w3schools.com/html5/song.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
</body>
</html>
改成http的绝对路径照样可以 真不知道ff到底怎么实现的
搜了下说绝对路径相对路径都应该可以的啊,文件名也没什么要求,算了,懒得管了
-
- 论坛版主
- 帖子: 21308
- 注册时间: 2007-08-02 20:29
- 系统: 窓辺とうこ
Re: firefox怎么就杯具了
知道原因了
不是文件名也不是路径的问题
https://developer.mozilla.org/en/HTML/Element/audio
vim /etc/nginx/mime.types
加上
video/ogg ogm;
video/ogg ogv;
video/ogg ogg;
重启服务器
不是文件名也不是路径的问题
https://developer.mozilla.org/en/HTML/Element/audio
MIME type的问题,nginx默认没有ogg的MIME type定义Also, the server must serve the file using the correct MIME type in order for Gecko to play it correctly.
vim /etc/nginx/mime.types
加上
video/ogg ogm;
video/ogg ogv;
video/ogg ogg;
重启服务器
- sciolist
- 帖子: 43
- 注册时间: 2009-04-25 14:41
- 系统: Ubuntu 12.04
- 来自: Shanghai,China
- 联系:
Re: firefox怎么就杯具了
这个问题我也遇到了,nginx 默认没有添加ogv 的mime type.JiangHui 写了:知道原因了
不是文件名也不是路径的问题
https://developer.mozilla.org/en/HTML/Element/audioMIME type的问题,nginx默认没有ogg的MIME type定义Also, the server must serve the file using the correct MIME type in order for Gecko to play it correctly.
vim /etc/nginx/mime.types
加上
video/ogg ogm;
video/ogg ogv;
video/ogg ogg;
重启服务器
谢谢ls。
oh yeah