Answer the question
In order to leave comments, you need to log in
Is it possible to autoplay audio in chrome?
I tried it through audio.play , autoplay does not work on loading in chrome, maybe there is such an opportunity or what script?
Answer the question
In order to leave comments, you need to log in
solution to this problem through iframe for chrome
for others,
delete the iframe if the person did not enter their chrome and also delete it so that there are no two audio
var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor) ;
if(!isChrome){
$('#iframeAudio').remove()
}
else{
$('#playAudio').remove()
Of course - it is possible - you can even play and - by clicking on the link as on - this page music.zpmirov.ru/blackstar but autoplay occurs if the page contains the code (audio) your link to the file (/audio)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question