jPlayer icon indicating copy to clipboard operation
jPlayer copied to clipboard

autoplay not work!

Open pws2016 opened this issue 6 years ago • 2 comments

I have an URL in my website when open it must the mp3 file play instantely.. my error is opened for 1 second and stoped! in console javascript i see this: Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause()

my website is: http://quran.procreagency.com/en/audio/ahmed-hudhayfi/al-kahf/choba-an-asim.html

please help me to fix this error!

pws2016 avatar Oct 17 '18 15:10 pws2016

Google made a new policy for autoplay, and jPlayer doesn't followed that, cause the latest commit made in 2017 :/ https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

TMSBK avatar Sep 02 '19 10:09 TMSBK

Any solution to this problem?

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

bdkoder avatar Feb 22 '23 05:02 bdkoder