Update 'frontend.js'

This commit is contained in:
nodemixaholic 2024-03-10 19:43:59 +00:00
parent fb195a2e27
commit ff666f3716

View file

@ -247,7 +247,7 @@ function lastModified(file) {
return file.lastModified; return file.lastModified;
} }
// Example: playAudio("https://interactive-examples.mdn.mozilla.net/media/examples/t-rex-roar.mp3", 0.4) // Example: playAudio("https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3", 0.4);
function playAudio(audio, speed) { function playAudio(audio, speed) {
let ma = new Audio(audio); let ma = new Audio(audio);
ma.playbackRate = speed; ma.playbackRate = speed;