Skip to content

HTML5 build autoplay policy #7

Open
@HornyCrusader

Description

@HornyCrusader

Hello. Any way to prevent this from happening?
While trying to play HTML5 build in any browser there is Autoplay policy warnings that preventing from using AudioContext and play music.
AutoPlay

In example https://selimanac.itch.io/mod-player-demo-nanowar it plays fine coz user need to click play and only after that app begin to initiate. But for example on Yandex.games there is no preinitialization stage - uploaded example of nanowar for testing (https://yandex.ru/games/app/294759?draft=true&lang=ru).

What to do and how to fix? Thanks.

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