CreateJS / SoundJS

A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
http://createjs.com/
MIT License
4.44k stars 835 forks source link

i get this error: Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD #310

Closed kh83 closed 5 years ago

kh83 commented 5 years ago

TODO

Issue Details

lannymcnie commented 5 years ago

Google changed some browser behaviours to prevent "automatic" audio playback without user interaction, much like mobile. Tracking it here: #297

kh83 commented 5 years ago

Thanx a lot for the quick replyL😉

Fra: Lanny McNie notifications@github.com Sendt: torsdag 1. november 2018 13:48 Til: CreateJS/SoundJS SoundJS@noreply.github.com Kopi: kh83 kh.aarnes@gmail.com; Author author@noreply.github.com Emne: Re: [CreateJS/SoundJS] i get this error: Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD (#310)

Google changed some browser behaviours to prevent "automatic" audio playback without user interaction, much like mobile. Tracking it here: #297 https://github.com/CreateJS/SoundJS/issues/297

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CreateJS/SoundJS/issues/310#issuecomment-435030333 , or mute the thread https://github.com/notifications/unsubscribe-auth/AqmLfW3oIEikhPsDEtquC9nwowxSd89oks5uqu2VgaJpZM4YF98u . https://github.com/notifications/beacon/AqmLfQGVPuxJmBHljg8Mv4Nh8PTyZgTHks5uqu2VgaJpZM4YF98u.gif