diff options
| author | tim b <timb@camcompu.home> | 2010-07-02 09:28:40 -0700 |
|---|---|---|
| committer | tim b <timb@camcompu.home> | 2010-07-02 09:28:40 -0700 |
| commit | 6892c44d545d6e70671c7e680a373cc42e399ecc (patch) | |
| tree | ee2b637bc5511184004601ca7e63d5d12eb73d26 /static/js | |
| parent | 897d66dc9dd274cfc6d21dc78d90952b09e27909 (diff) | |
add wavs, make embed a little nicer
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/pichat.js | 2 |
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>"; |
