WebM Alpha only displayed in Chrome?

心不动则不痛 提交于 2019-12-24 04:35:23

问题


I've implemented a WebM video with the video tag. The alpha channel is displayed correctly in Chrome but not in Firefox nor Edge - there's a black background.

I thought those browsers had good support for WebM? Am I missing something?

Markup looks like this:

<video autoplay loop muted poster="example.jpg">
  <source src="video.webm" type="video/webm">
</video>

Thanks in advance! :)

//EDIT I got alpha channel working with Firefox: Used VP8 instead of VP9 codec. Edge is still a mystery.

来源:https://stackoverflow.com/questions/55061630/webm-alpha-only-displayed-in-chrome

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!