scottschiller / SoundManager2

A JavaScript Sound API supporting MP3, MPEG4 and HTML5 audio + RTMP, providing reliable cross-browser/platform audio control in as little as 12 KB. BSD licensed.
http://www.schillmania.com/projects/soundmanager2/
Other
4.99k stars 768 forks source link

A cross browsers check for autoplay is required. #264

Open saidbakr opened 11 months ago

saidbakr commented 11 months ago

Latest versions of current popular browsers prevents autoplay sound by default. The SM2 need a property or event triggered when the browser prevent it to allow prompting the end user to grant the required autoplay permission. This question on Stack Overflow shows up the issue.