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

问题 #68

Open
AthenaRoland opened this issue Jul 26, 2024 · 2 comments
Open

问题 #68

AthenaRoland opened this issue Jul 26, 2024 · 2 comments

Comments

@AthenaRoland
Copy link

请教一下作者怎么实现音乐播放进度条的异步更新

@moshstudio
Copy link
Owner

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,
    ):
...

@deng0685
Copy link

deng0685 commented Aug 16, 2024 via email

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