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

feat(h5): web 平台调整 audio 为原生元素 #5150

Open
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

Otto-J
Copy link
Member

@Otto-J Otto-J commented Sep 14, 2024

关联

https://ask.dcloud.net.cn/question/198316

暂不合并。

考虑 vue2 上运行正常,不排除 vue3 继续支持 audio 内置组件。如果这个改动生效,后续 audio 就不能调整,会有兼容问题

经过讨论,目前分成两步走

  • audio 优化错误提示,明确用户不能使用 audio
  • 考虑是否允许 vue3 开放 audio
  • 考虑是否支持更多配置想,允许内置组件、平台组件之间切换

update:

使用 createElement 也可以直接操作

Copy link

Size report

Path Size
packages/size-check/dist/size-check.es.js 46.97 KB (0%)
packages/size-check/dist/style.css 2.8 KB (0%)
packages/uni-app/dist/uni-app.es.js 2.07 KB (0%)
packages/uni-h5-vue/dist/vue.runtime.esm.js 76.32 KB (0%)
packages/uni-mp-vue/dist/vue.runtime.esm.js 59 KB (0%)
packages/uni-mp-alipay/dist/uni.api.esm.js 13.09 KB (0%)
packages/uni-mp-alipay/dist/uni.mp.esm.js 7.73 KB (0%)
packages/uni-mp-baidu/dist/uni.api.esm.js 9.97 KB (0%)
packages/uni-mp-baidu/dist/uni.mp.esm.js 9.44 KB (0%)
packages/uni-mp-qq/dist/uni.api.esm.js 9.27 KB (0%)
packages/uni-mp-qq/dist/uni.mp.esm.js 7.39 KB (0%)
packages/uni-mp-toutiao/dist/uni.api.esm.js 9.41 KB (0%)
packages/uni-mp-toutiao/dist/uni.mp.esm.js 9.57 KB (0%)
packages/uni-mp-weixin/dist/uni.api.esm.js 10.08 KB (0%)
packages/uni-mp-weixin/dist/uni.mp.esm.js 7.49 KB (0%)
packages/uni-quickapp-webview/dist/uni.api.esm.js 9.22 KB (0%)
packages/uni-quickapp-webview/dist/uni.mp.esm.js 8.59 KB (0%)

@Otto-J Otto-J changed the title feat(h5): web 平台调整 audio 为原生组件 feat(h5): web 平台调整 audio 为原生元素 Sep 14, 2024
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

Successfully merging this pull request may close these issues.

1 participant