Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

播放携带声音的svga会报错 #91

Open
ericzhao007 opened this issue Oct 30, 2023 · 2 comments
Open

播放携带声音的svga会报错 #91

ericzhao007 opened this issue Oct 30, 2023 · 2 comments

Comments

@ericzhao007
Copy link

报错为:
[SVGA Parser Error] The source image could not be decoded.

经过测试携带音频的svga都会报错,虽然文档说明不支持音频,但是否应该兼容一下使动画可以正常播放。或者何时可以支持声音呢

@Naeemo
Copy link
Contributor

Naeemo commented Oct 31, 2023

可以js提前处理一下文件内容,把音频删掉,在给到player;不考虑兼容低版本浏览器的话,也可以试试 svga-web;或者提个PR略过音频数据。

@mambofish123
Copy link

解决了嚒?可以音画同步播放

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants