Skip to content

Autoplay Issue in Google Chrome #1747

Open
@muralisundharam

Description

The Problem

var sound = new Howl({ src: ['tone/notification.mp3'], preload: true, autoplay: true });

    sound.play();

The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.

Reproducible Example

No response

Reproduction Steps

var sound = new Howl({ src: ['tone/notification.mp3'], preload: true, autoplay: true });

    sound.play();

Possible Solution

No response

Context

No response

Howler.js Version

2.2.4

Affected Browser(s)/Versiuon(s)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions