audiojs
audiojs copied to clipboard
autoplay does not allow pausing
Trying from provided example 3 http://kolber.github.io/audiojs/demos/test3.html I noticed that the autoplay option is efficient, but clicking on the Pause button does not stop playing the music. I am using Firefox 34.0 on Linux Mint Debian Edition.
I'm having exactly the same issue with FF50.1 and latest Chrome. This is happening both in examples and when I write my own code.
same problem(
html5 autoplayes how to autoplay using js api?
Guys, the solution was:
<script>
audiojs.events.ready(function() {
var as = audiojs.create(document.getElementById('about_subsidy'), { autoplay: true });
});
</script>
<audio id="about_subsidy" src="https://ayzakh.bitbucket.io/about_subsidy.mp3"></audio>
So why i need to read source code? I wasn't found documentation