summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-25 14:22:49 +0100
committerAlib <aliboba@free.fr>2010-02-25 14:22:49 +0100
commitc72e1bcc2b818a021c7ff45079e3ecacff53171d (patch)
tree56959f0d0968455bf6a3e50ef38d0b3f84ef4119 /javascript
parentca4074913b2ad21eac4987df1349fc386fc9b9a7 (diff)
downloadistreamdev-c72e1bcc2b818a021c7ff45079e3ecacff53171d.tar.gz
istreamdev-c72e1bcc2b818a021c7ff45079e3ecacff53171d.tar.bz2
debug js
Diffstat (limited to 'javascript')
-rwxr-xr-xjavascript/functions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/javascript/functions.js b/javascript/functions.js
index 39927e4..fd72eab 100755
--- a/javascript/functions.js
+++ b/javascript/functions.js
@@ -192,7 +192,7 @@ function checkform()
}
-function addplayer(track) {
+function addplayer(path,name,track) {
playercode= "<embed target='myself' src=track[0] width='0' height='0' autoplay='false' type='audio/mp3' loop='true' controller='false' ";
@@ -202,6 +202,7 @@ function addplayer(track) {
}
playercode+= "</embed>";
+ playmusic(path,name);
document.getElementById('div_player').innerHTML = playercode;
}