Is there a way to use JS to bypass a recent limitation in modern browsers to autoplay music?
I activated an autoplay in a Joomla music player plugin and I also used JS code via Custom HTML module
<script type="text/javascript">
var source = 'https://apostasia.ru/1.mp3';
var audio = new Audio();
audio.addEventListener('load', function() {
audio.play();
}, true);
audio.src = source;
audio.autoplay = true;
</script>
Code (JavaScript):
from JavaScript https://ift.tt/2M9u8bV
via IFTTT
0 Comments