From 337dab08b623aa0f7cb9ecb112f40a3b1eaab8bb Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 24 Aug 2011 18:49:29 +0200 Subject: Moved browser code to the Browser class. --- static/audio.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'static/audio.js') 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() { -- cgit v1.2.3