summaryrefslogtreecommitdiff
path: root/javascript/functions.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-25 13:39:11 +0100
committerAlib <aliboba@free.fr>2010-02-25 13:39:11 +0100
commit0921ec0f64d6782076d1e1fb2333cb53c86d279f (patch)
tree48821410f1eb8332254b46ee22b4d4fce136a426 /javascript/functions.js
parentd350aac197f8ad5ab501c3b25b6543e802de0e47 (diff)
downloadistreamdev-0921ec0f64d6782076d1e1fb2333cb53c86d279f.tar.gz
istreamdev-0921ec0f64d6782076d1e1fb2333cb53c86d279f.tar.bz2
trying to debug js array
Diffstat (limited to 'javascript/functions.js')
-rwxr-xr-xjavascript/functions.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/javascript/functions.js b/javascript/functions.js
index a708963..39927e4 100755
--- a/javascript/functions.js
+++ b/javascript/functions.js
@@ -189,4 +189,19 @@ function checkform()
}
return true;
+
+}
+
+function addplayer(track) {
+
+
+ playercode= "<embed target='myself' src=track[0] width='0' height='0' autoplay='false' type='audio/mp3' loop='true' controller='false' ";
+
+ for ( var i=1; i=track.length; i+=1 ){
+ playercode += "qtnext" + i + "='<" + track[i] + ">' ";
+
+ }
+ playercode+= "</embed>";
+ document.getElementById('div_player').innerHTML = playercode;
+
}