找不到支持格式和MIME类型的视频(在Mozilla Firefox中获取错误) [英] No Video with Support Format and MIME type Found (getting Error in Mozilla firefox)

查看:1068
本文介绍了找不到支持格式和MIME类型的视频(在Mozilla Firefox中获取错误)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我已经在asp.net中应用了一个代码,如下所述



 < video width =320height =240controls =controls> 
< source src =../ Video / 1.mp4type =video / mp4/>
< / video>









这里我我在Mozilla firefox中收到错误没有支持格式和找到MIME类型的视频。但是剩下的浏览器谷歌浏览器和所有能够看到该视频的人都可以看到。

解决方案

解决问题



< video width =648height =380controls =controls>

< source src =../ Video / 1.mp4type =video / mp4/>

< source src =../ Video / 1.webm type =video / webm/>

< / video>



因为Mozilla Firefox支持.webm格式。

Hi there,
I had applied a code in asp.net as mention below

<video width="320" height="240" controls="controls">
  <source src="../Video/1.mp4" type="video/mp4" />
 </video>





here i am getting an error in Mozilla firefox as No Video with Support Format and MIME type Found .But in remaining browser google chrome and all iam able to see the video.

解决方案

Solved Problem

<video width="648" height="380" controls="controls">
<source src="../Video/1.mp4" type="video/mp4" />
<source src="../Video/1.webm" type="video/webm" />
</video>

Because Mozilla Firefox supports .webm format.


这篇关于找不到支持格式和MIME类型的视频(在Mozilla Firefox中获取错误)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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