Open AthenaRoland opened 3 months ago
Audio有回调函数
def __init__(
self,
src: Optional[str] = None,
src_base64: Optional[str] = None,
autoplay: Optional[bool] = None,
volume: OptionalNumber = None,
balance: OptionalNumber = None,
playback_rate: OptionalNumber = None,
release_mode: Optional[ReleaseMode] = None,
on_loaded=None,
on_duration_changed=None,
on_state_changed=None,
on_position_changed=None,
on_seek_complete=None,
#
# Control
#
ref: Optional[Ref] = None,
data: Any = None,
):
...
你的来信我已收到
请教一下作者怎么实现音乐播放进度条的异步更新