dimanche 4 janvier 2015

Chrome Download audio file when loaded?

Is there a way to download an audio file when it's loaded either through a page or audio object?


example of audio object:



var audioPlaying = new Audio();
audioPlaying.src = link;
audioPlaying.addEventListener("loadedmetadata", function(_event) {
audioPlaying.play();
});


or when you open a file through a page, such as This Link, can chrome detect that a file has been loaded then download it?


Aucun commentaire:

Enregistrer un commentaire