+ 5
Why autoplay attribute of audio or video element do not work in Sololearn?
I have been trying it with JavaScript but still the audio do not play onload.. I even tried after the alert is triggered still the audio don't and I get an error.. as play() can only be initiated with user gesture.
2 Respostas
0
because it is useles on sololearn
0
because audio and video element are old attribute and autoplay is new attribute in javascript.