diff --git a/cmd/audio-player/main.js b/cmd/audio-player/main.js index 2d412265..4f88c9af 100644 --- a/cmd/audio-player/main.js +++ b/cmd/audio-player/main.js @@ -72,8 +72,7 @@ function load() { document.getElementById('url').value = url; } if (url[0] == '/') { - // url = window.location.protocol + '//' + window.location.host + url; - url = "http://vidgrind.appspot.com" + url + url = window.location.protocol + '//' + window.location.host + url; } if (url == "") { return; @@ -92,8 +91,8 @@ function load() { var link = document.getElementById("link"); link.href = dataURL; - link.download = "audio.ts"; - link.innerHTML = "Download MPEG-TS"; + link.download = "media.ts"; + link.innerHTML = "Download"; } else { console.log('There was a problem with the request.');