Html OGV和OGG的区别
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20794015/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Difference between OGV and OGG
提问by Durty
I recently encountered a problem regarding the OGV file extension in Firefox. When using the extension in the source it returns a "No video with supported format or MIME types found" error in the player. But when just changing the extension from OGV to OGG it works. I didn't add the AddType in Apache.
我最近在 Firefox 中遇到了关于 OGV 文件扩展名的问题。在源中使用扩展时,它会在播放器中返回“未找到支持格式或 MIME 类型的视频”错误。但是当只是将扩展名从 OGV 更改为 OGG 时,它可以工作。我没有在 Apache 中添加 AddType。
Are the extensions interchangeable? Why does changing the extension from OGV to OGG works? Just a little confused.
扩展名是否可以互换?为什么将扩展名从 OGV 更改为 OGG 有效?只是有点困惑。
采纳答案by longi
check if your ogv-file plays in firefox (simply drag'n'drop the videofile to an open firefox-window). if it is playing normally, check if your server supports the MIME types
and add them to your .htaccess file
. check my answer here
检查您的 ogv 文件是否在 Firefox 中播放(只需将视频文件拖放到打开的 Firefox 窗口中)。如果播放正常,请检查您的服务器是否支持MIME types
并将它们添加到您的.htaccess file
. 在这里检查我的答案