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

大佬,能否支持下音频播放, #7

Closed
emmenisme opened this issue Oct 7, 2021 · 6 comments
Closed

大佬,能否支持下音频播放, #7

emmenisme opened this issue Oct 7, 2021 · 6 comments

Comments

@emmenisme
Copy link

首先感谢作者的无私奉献!大爱无疆

我是上次给你提意见的,“组件内无法使用的问题”。
感谢您,更新了代码!!

能否使用wx.playVoice,支持音频播放,我也不是很确定,我对小程序也不熟悉!

感谢!!

@PonyCui
Copy link
Member

PonyCui commented Oct 8, 2021

小程序的声音 API 过于复杂,需要占用太多时间去研究,暂时不考虑实现。

@emmenisme
Copy link
Author

能够在现有基础上面,处理下音频的报错
现在是音频作为图片解析了,会报错!
做下类型判断,自动过掉音频,这样同一个swag文件都能在各端使用了,现在的话,只能将svga音频去掉,以兼容多端

感谢!!

@PonyCui
Copy link
Member

PonyCui commented Oct 8, 2021

好的,这个没问题。

@PonyCui
Copy link
Member

PonyCui commented Oct 8, 2021

能够在现有基础上面,处理下音频的报错 现在是音频作为图片解析了,会报错! 做下类型判断,自动过掉音频,这样同一个swag文件都能在各端使用了,现在的话,只能将svga音频去掉,以兼容多端

感谢!!

已提交
d32da16

@emmenisme
Copy link
Author

感谢大佬!无私奉献!!

@PonyCui
Copy link
Member

PonyCui commented Oct 8, 2021

@PonyCui PonyCui closed this as completed Oct 8, 2021
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

2 participants