summaryrefslogtreecommitdiff
path: root/static/js/pichat.js
diff options
context:
space:
mode:
authortim b <timb@camcompu.home>2010-07-02 09:28:40 -0700
committertim b <timb@camcompu.home>2010-07-02 09:28:40 -0700
commit6892c44d545d6e70671c7e680a373cc42e399ecc (patch)
treeee2b637bc5511184004601ca7e63d5d12eb73d26 /static/js/pichat.js
parent897d66dc9dd274cfc6d21dc78d90952b09e27909 (diff)
add wavs, make embed a little nicer
Diffstat (limited to 'static/js/pichat.js')
-rw-r--r--static/js/pichat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js
index add7bdb..40ff9dd 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -110,7 +110,7 @@ function linkReplace(url) {
"<img class='youtube-thumb' width='130' height='97' src='"+Youtube.nextThumbUrl(uri.queryKey.v)+"'>" +
"<img class='youtube-controls' src='/static/img/youtube.controls.png'></a>"
} else if (type == 'midi' || type == 'wav') {
- return '<embed src="'+linkUrl+'" loop="true" autostart="false" volume="80" width="150" height="20" style="padding:0;margin:0"><a href="'+linkUrl+'">'+uri.file+'</a>'
+ return '<embed src="'+linkUrl+'" loop="true" autostart="false" volume="80" width="150" height="20" style="vertical-align:bottom"> <a href="'+linkUrl+'">'+uri.file+'</a>'
} else
return "<a target='_blank' href='" + linkUrl + "'>" + url + "</a>";