我们需要在我们现有的 JEE8 webapp (JSF) 中集成 lottie 动画。但是在xhtml页面中写了如下代码(lottie-player),在客户端并没有渲染出来:
<lottie-player src="https://assets7.lottiefiles.com/packages/lf20_umoglgxj.json" background="transparent" speed="1" style="width: 300px; height: 300px;" loop autoplay></lottie-player>
为什么不渲染?其他标签,如 DIV、VIDEO、SLOT 都可以正常渲染。