- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我看到 EDGE 通过在其浏览器配置中启用 MSE 中的 VP9,声称在最新版本中支持 VP9 编解码器。
我试过这样做,但它仍然不起作用,并且会抛出一条错误消息,指出不支持这种类型的视频文件。
我启动了 https://html5test.com/compare/browser/mybrowser.html EDGE 浏览器中的 URL,这表明浏览器不支持 VP9,同时 youtube 视频在 WebM vp9 编解码器中流式传输( Nerd 使用统计数据来检查这一点)。
我在我的 HTML 文件中使用它
<video>
<source src="http:/url/123.webm" type="video/webm"/>
</video>
Youtube 的 https://www.youtube.com/html5声称它可以播放 MSE & WEBM vp9,并且它能够播放 vp9 视频,服务器为 vp9 和 MSE & vp9 提供请求的方式有什么不同吗?
我可以毫无问题地在 chrome 和 firefox 中播放 VP9 视频。预先感谢您的帮助。
最佳答案
自 EdgeHTML 15.15063 起,WebM + VP9 仅在使用 MSE(媒体源扩展)时受支持。您正在使用的标签:
<video>
<source src="http:/url/123.webm" type="video/webm"/>
</video>
没有使用 MSE。为此,您需要在 JavaScript 中创建一个 MediaSource 对象并将您的视频内容流式传输到 SourceBuffer。 Microsoft's streaming player example 中的一个示例说明了这一点。 :
To use the MSE API, follow these steps:
- Define an HTML5 video element in the HTML section of a page.
- Create a MediaSource object in JavaScript.
- Create a virtual URL using createObjectURL with the MediaSource object as the source.
- Assign the virtual URL to the video element's src property.
- Create a SourceBuffer using addSourceBuffer, with the mime type of the video you're adding.
- Get the video initialization segment from the media file online and add it to the SourceBuffer with appendBuffer.
- Get the segments of video data from the media file, append them to the SourceBuffer with appendBuffer.
- Call the play method on the video element.
- Repeat step 7 until done.
- Clean up.
根据 this Edge platform issue , Microsoft 仅声称有限的 WebM + VP9 支持,如果没有社区通过 Windows 10 反馈中心和/或 Microsoft Edge UserVoice 的大力插入,这不太可能改变。 .
Chrome 和 Firefox 支持不带 MSE 的 WebM + VP9,这就是它在这些浏览器中工作的原因。
关于html - EDGE 浏览器中的 VP9 WEBM 视频支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43916914/
我想通过注册表更改 Edge 浏览器中的主页,但它是加密的,我在注册表中看到( protected - 修改违反 Windows 策略。请参阅 aka.ms/browserpolicy)。请帮助我在注
如果我开发一个网站,它是否会以相同的方式在 IE11、Chrome、Firefox 和 edge 上运行,还是我们需要专门为 IE11 编写代码?我没有 Windows 8,因此无法在边缘浏览器上测试
如果我开发一个网站,它是否会以相同的方式在 IE11、Chrome、Firefox 和 edge 上运行,还是我们需要专门为 IE11 编写代码?我没有 Windows 8,因此无法在边缘浏览器上测试
如果 Edge 在某些机器上发生崩溃,我们需要检查日志以了解发生了什么情况。 最佳答案 Microsoft Edge 实际上是一个 Windows 进程,因此您应该能够在事件查看器中查看日志。此外,您
我们公司已将 Chrome 扩展程序移植到 Edge。扩展工作正常,但弹出窗口本身有很多重要内容。如果您在扩展设置中切换“地址栏旁边的显示按钮”,边缘扩展似乎只显示弹出按钮。这通常是一种糟糕的用户体验
我正在尝试在 Microsoft Edge 中调试崩溃的应用程序,但它提供了友好的错误页面: This page is having a problem loading We tried to loa
经过长时间的研究,我创建了我的最佳电子书 (Epub) 阅读器。作为主要设备,我基本上使用 Windows 10 平板电脑和 Microsoft Edge 作为 (Epub) 阅读器。 这是伟大的和惊
如何使用注册表或命令行获取 Microsoft Edge 浏览器版本? 我不想从 UI 中获取它。 最佳答案 对于 Microsoft Edge Legacy ,您可以使用 Get-AppxPacka
是否有可靠的编程方式来确定 Microsoft Edge 是默认浏览器? 我知道一种选择是使用 IApplicationAssociationRegistration::QueryCurrentDef
当人们在 Edge 中浏览网站时,很高兴看到“阅读 View ”按钮已启用。想要了解一个页面如何适合阅读模式。这将有助于开发人员在开发网站时牢记阅读模式。 最佳答案 答案来自 Microsoft Ed
我们在三周前向申请表提交了 Microsoft Edge 扩展:https://aka.ms/extension-request . 我们还没有收到任何反馈,在开发者仪表板中提交扩展包时,我们收到以下
我可以运行 code 从 WSL2 内部启动 VSCode。 我将如何启动 Edge(当前基于 Chromium 的 Edge)? 我试过了: ~/Code/company/workshops-web
最新版本的 Microsoft Edge 浏览器 (41.162...) 在单击后退和前进按钮时请求新页面。我在多个平台上测试了多个浏览器,只有 Edge 表现出这种行为。 这是一个 test pag
我在 Windows 1803 版本 17134.376 中使用 Microsoft Edge。 我有一个在 IIS 中本地运行的 ASP.NET Core 网站。该网站在 Edge 中可以正常打开,
Edge on Desktop 未加载谷歌字体。事实上,它甚至没有使用被定义为回退的“sans-serif”。 此行为不会在 Mobile Edge 中复制。 How it should look l
iotedge logs 暴露的日志在哪里?命令存储? 通常在 Linux 上会在哪里? 最佳答案 只需执行 docker inspect 及以下 LogPath您将获得容器的当前位置。例如。对于
我正在尝试将 Polymer 2 组件集成到现有的 SPA([ab] 使用 JSF 构建)。只要我的 POC 在 Chrome 中运行,我的基础知识就可以正常工作,我真的不在乎它是在 Shadow 还
我们的大型单页 JavaScript 应用程序在 Edge 浏览器中根本无法运行。 (我们在 Chrome 和 Firefox 中正式支持它,我们不允许在 IE 中使用它,因为它只能在那里工作一半,我
Microsoft Edge 16 中存在错误(已多次报告并在此处确认:https://developer.microsoft.com/en-us/microsoft-edge/platform/is
Microsoft Edge 16 中存在错误(已多次报告并在此处确认:https://developer.microsoft.com/en-us/microsoft-edge/platform/is
我是一名优秀的程序员,十分优秀!