diff options
Diffstat (limited to 'static/audio.js')
-rw-r--r-- | static/audio.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static/audio.js b/static/audio.js index 6eaec56..b575fc1 100644 --- a/static/audio.js +++ b/static/audio.js @@ -3,6 +3,9 @@ function Audio() { this.set_src = function(src) { this.audio.setAttribute('src', src); + + var audio_src_url = document.getElementById('audio-src-url'); + audio_src_url.innerHTML = 'Playing: ' + src.replace('&', '&'); } this.play = function() { |