summaryrefslogtreecommitdiff
path: root/static/audio.js
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-08-24 18:49:29 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-08-24 18:49:29 +0200
commit337dab08b623aa0f7cb9ecb112f40a3b1eaab8bb (patch)
treebe30194ccae6e9fa1155bb996b7eea24ffd0f313 /static/audio.js
parent8ebb79ffe8f8d6172c7ff664f086ae96863fb4bf (diff)
Moved browser code to the Browser class.old
Diffstat (limited to 'static/audio.js')
-rw-r--r--static/audio.js3
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('&', '&amp;');
}
this.play = function() {