微信小程序 audio 组件实例详解

前端之家收集整理的这篇文章主要介绍了微信小程序 audio 组件实例详解前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

音频播放已经封装的很好!只需配合属性设置即可! (method和data配合使用)

主要属性

@H_403_23@

<button type="primary" bindtap="audioPlay">播放
<button type="primary" bindtap="audioPause">暂停

<button type="primary" bindtap="audioPlaybackRateNormal">调为1倍速

<button type="primary" bindtap="audioPlaybackRateSlowDown">调为0.5倍速

原文链接:https://www.f2er.com/weapp/45509.html

猜你在找的微信小程序相关文章