Firefox报告“没有支持格式的视频和找到MIME类型” [英] Firefox reports "No Video with Supported Format and Mime Type Found"

查看:8238
本文介绍了Firefox报告“没有支持格式的视频和找到MIME类型”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此代码适用于mp4视频,但不适用于 .3gp .avi .flv 文件。


$ b

 < video width =320height =240controls> 
< source src =< s:url action ='downappsuservideo'>
< s:param name =idvalue =#session ['id']/>
< / s:url> >
您的浏览器不支持视频标签。
< / video>


解决方案

您需要检查Firefox任何其他浏览器)使用HTML5时可能会有。
HTML5的世界正在不断发展,一些功能,编解码器等的缺失支持最终将在未来不久推出。



同时,请检查Firefox在以下页面中的能力:

HTML5 TEST < a>






在撰写本文时,它总计 465 中的 555 ,其中 29 出于 33 视频播放。具体而言, CODEC 情况如下:
$ b

MPEG-4 ASP支持:否✘
H.264支持:是✔
H.265支持:否✘
Ogg Theora支持:是✔
支持VP8的WebM:是✔
WebM与VP9支持:是✔

然后


  • 为用户提供lin k下载视频时不可重现,或
  • 使用另一个播放器作为后备,或者
  • 转换您的视频,或者



  • $ b

    另请阅读 Mozilla有关支持的媒体格式的文章


    This code worked fine for mp4 video, but it did not work for .3gp, .avi and .flv files.

    <video width="320" height="240" controls>
      <source src="<s:url action='downappsuservideo'> 
                       <s:param name="id" value="#session['id']"/>
                   </s:url>" >
      Your browser does not support the video tag.
    </video>
    

    解决方案

    You need to check for the limitations that Firefox (as any other browser) may have when working with HTML5.
    The HTML5 universe is constantly evolving, and the missing support of some functionality, codec, etc. will eventually be introduced soon or later in the future.

    Meanwhile, check what Firefox is capable of in the following page:

    HTML5 TEST


    At the time of writing, it scores an overall 465 out of 555, of which 29 out of 33 on video playback.

    Specifically, the CODEC situation is the following:

    MPEG-4 ASP support    : No  ✘    
    H.264 support         : Yes ✔
    H.265 support         : No  ✘
    Ogg Theora support    : Yes ✔
    WebM with VP8 support : Yes ✔
    WebM with VP9 support : Yes ✔
    

    Then

    • give the user the link to download the video when unreproducible, or
    • use another player as a fallback, or
    • convert your videos, or
    • whatever.

    Also read Mozilla’s article on supported media formats.

    这篇关于Firefox报告“没有支持格式的视频和找到MIME类型”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆