Skip to content

[BUG] soundPlayer.loadUrl() DOES NOT WORK #183

@yelnyafacee

Description

@yelnyafacee

Describe the bug

    useEffect(() => {

        // Load > From > URL
        soundPlayer.loadUrl("https://whatsapp-cloud.s3.ap-northeast-1.amazonaws.com/file_example_MP3_700KB+(1).mp3")

        // I need call soundPlayer.play(), IT WONT PLAY BUT WILL MAKE SURE getInfo {"duration":0,"currentTime":0} does not happens
        // Why is that??
        soundPlayer.play()

    }, []);

To Reproduce

Expected behavior
soundPlayer.loadUrl() ACTUALLY loads the URL, not returning {"duration":0,"currentTime":0} when .getInfo() is CALLED

Platform (please complete the following information):

  • OS: Android [ API 32 ]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions